From: Bitland AT aol DOT com Message-ID: Date: Sun, 1 Feb 1998 19:22:08 EST To: djgpp AT delorie DOT com Mime-Version: 1.0 Subject: Two c++-parser problems Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit Precedence: bulk Found two C++-parserproblems, which *imho* shouldn't be there: // ----- First one: class A { public: char *string; A(char *s) : string(s) {} }; class B : public A { public: B(void) : A("doesn't work here with language-specific letters !") {} }; // i.e. german letters in the string will produce 'parser error' 'unterminated string' B test; main() { A *test = new A("but here it works !"); delete test; } // ----- Templates of templates: i.e.: MyList> (oh yes, I do such things !) Parser has problems with the final >> No more problem, if you type a blank between there. If somebody knows a solution for the first problem, please mail me. Andy Kluge -- *\o/* --- Wiesbaden, Germany ---------- bitland AT aol DOT com - - - - - - OOP is when flags are set at half-mast - - - - - -