where are char_traits<wchar_t> instances built ?

Paolo Carlini pcarlini@suse.de
Mon Dec 29 17:15:00 GMT 2003


Marc Espie wrote:

> Looking in my libstdc++, I see no instance of
> std::char_traits<T>::compare, either for T=char nor T=wchar.

Hummm. Could you provide additional information on the actual error?

Usually, ../include/c++/3.3.2/bits/char_traits.h contains struct
char_traits and its specializations for char and wchar_t, quite
straightforward, by the way (in 3.3.x, at least): as you can easily
imagine they boil down to just memcmp, memchr, memmove and so on...

Paolo.



More information about the Gcc mailing list