oui mais le probleme c'est: l'operateur de quel object ? Aussi loin que
je sache, "bla" c'est une string (4 bytes en memoire), pas un obect sur
lequel tu appelle la methode operator(). Le + machin ok, c'est juste
pour montrer que le casting de la string resulte bien en un object.

On Thu, Feb 12, 2004 at 03:12:26PM +0100, Fabian Vilers wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Jean-Francois Dive wrote:
> 
> | AnsiString jef = (AnsiString)"This is a string" + 10;
> 
> j'imagine que le 'cast' dans la classe 'AnsiString' overload le 'cast'
> normal. Pour le '+10', ca doit etre pareil; overload de l'op?rateur '+'.
> 
> je suis pas expert en c++ mais je vais checker dans mes refs ce soir.
> 
> Fabian
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.3 (MingW32)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
> 
> iD8DBQFAK4nJ3Qzx239StfYRAjbUAKDAIiXWBWQOSi0AEkyKzgMUWkVSGwCgn625
> dJkmh+me2ryG1TjaTe5AZOI=
> =eHVI
> -----END PGP SIGNATURE-----
> _______________________________________________________
> Linux Mailing List - http://www.unixtech.be
> Subscribe/Unsubscribe: http://www.unixtech.be/mailman/listinfo/linux
> Archives: http://www.mail-archive.com/[EMAIL PROTECTED]
> IRC: chat.unixtech.be:6667 - #unixtech

-- 

-> Jean-Francois Dive
--> [EMAIL PROTECTED]

  I think that God in creating Man somewhat overestimated his ability.
  -- Oscar Wilde
_______________________________________________________
Linux Mailing List - http://www.unixtech.be
Subscribe/Unsubscribe: http://www.unixtech.be/mailman/listinfo/linux
Archives: http://www.mail-archive.com/[EMAIL PROTECTED]
IRC: chat.unixtech.be:6667 - #unixtech

Répondre à