C++ err msgs [ was Re: building libstdc++-v3 from the 20000105 snapshot dies with multiple def errors. ]

Jason Merrill jason@cygnus.com
Thu May 11 00:45:00 GMT 2000


>>>>> Gabriel Dos Reis <gdr@codesourcery.com> writes:

 > | std::basic_string
 > | <
 > |   char,
 > |   std::char_traits<char>,
 > |   std::allocator<char>
 > | >::basic_string(unsigned int, char, std::allocator<char> const &)

 > Is this Gnucally correct? Note that I don't have trouble to implement
 > thus scheme (since parts of cp/errors are being rewritten in order to
 > be easily parameterized by formatting standards) but I need to know
 > that it won't be thrown away.

I think more Gnuically correct would be

std::basic_string<char,
		  std::char_traits<char>,
		  std::allocator<char> >
   ::basic_string (unsigned int, char, std::allocator<char> const &)

but I also think it will be hard to determine when it would be a good idea
to do this.  Perhaps just if a template arg list is flowing off the end of
a line.

Jason


More information about the Libstdc++ mailing list