Specializations of std::char_traits

Gabriel Dos Reis gdr@integrable-solutions.net
Wed Jul 16 00:00:00 GMT 2003


Matt Austern <austern@apple.com> writes:

| What would people think of reintroducing a stub generic char_traits,
| one that defines just enough functionality for std::basic_string to
| work?  That's what other compilers do. If we don't do it, I think
| we'll get more complaints.

Thanks to Benjmain, we've got a patch that enables users to use
fundamental types other than char and wchar_t as character types.
It uses character<T> -- defined in __gnu_cxx::.

-- Gaby



More information about the Libstdc++ mailing list