This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: where are char_traits<wchar_t> instances built ?


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]