This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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: UTF-16 streams


On 4 February 2015 at 23:38, Tom Cook wrote:
> A more specific question: is providing a specialisation of std::ctype
> (ie std::ctype<char16_t>) the right way to fix this?

I've just used an online compiler that provides GCC trunk and still
get a bad_cast exception. It doesn't compile using Clang and libc++,
so it might be that your program is not required to work and you do
need to provide some user-defined specializations.

I won't be able to check the standard or debug it until next week.


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