Am Dienstag, 16. Januar 2007 16:52 schrieb Kornel Benko: > 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();
This is a function declaration of a function 'a' returning a string. What you want is string a; and I am sure it would work. Georg