Docs for strings of arbitrary character types

Paolo Carlini pcarlini@suse.de
Wed Jul 13 14:20:00 GMT 2005


Jonathan Wakely wrote:

>I'm updating the HTML docs and will document the process of specializing
>_Char_traits (and possibly __gnu_cxx::char_traits) to get it right.
>  
>
Forgot a weird issue, that maybe is worth documenting (a note?): an user
of the library, privately told me that at least some versions of glibc
don't play well with -fshort-wchar: this means that unfortunately the
char_traits.h implementation of the wchar_t specialization is not
guaranteed to work when that compiler option is in effect.

Paolo.

P.S. For your curiosity: rewriting the wchar_t specializations by open
coding the various functions, allowed that user to get a clean testsuite
and quickly port a windoze application.



More information about the Libstdc++ mailing list