Am Dienstag, 16. Januar 2007 19:41 schrieb Angus Leeming:
> That's not fishy at all.
>
>    string a("");
>
> defines a variable "a" and initializes it with "". The same thing is
> achieved more elegantly and less expensively with:
>
>    string a;
>
> By way of contrast,
>
>    string a();
>
> is a declaration of a function "a" that takes no arguments and returns a
> string...

Of course you are right. Now I feel very unconfortable.

        Kornel
-- 
Kornel Benko
[EMAIL PROTECTED]

Attachment: pgpkWxT9IOUdR.pgp
Description: PGP signature

Reply via email to