On Tue, Jan 16, 2007 at 04:52:00PM +0100, Kornel Benko wrote: > It is very fishy here. > If I replace the call with: > string a(""); > Buffer buffer(a, false); > then it compiles. > > On the other hand > string a();
string a(); is a declaration of a function called 'a' taking no argument and returning a string. Otoh, string a(""); and string a; produce the same object, the former is only more verbose and likely to waste cycles. Andre'