[haiku-3rdparty-dev] Re: use of wchar_t

  • From: PulkoMandy <pulkomandy@xxxxxxxxx>
  • To: haiku-3rdparty-dev@xxxxxxxxxxxxx
  • Date: Wed, 10 Feb 2010 19:33:28 +0100

Le Wed, 10 Feb 2010 19:28:22 +0100, Adrian Panasiuk <adek336@xxxxxxxxx> a écrit:


Hi, I wonder why this would crash:


#include <locale>

int
main()
{
   std::locale currentLocale;
   std::use_facet<std::ctype<wchar_t> > (currentLocale);
   return 0;
}

I guess because std::locale is not implemented at all in Haiku ?

--
Adrien Destugues / PulkoMandy
http://pulkomandy.ath.cx

Other related posts: