Re: [boost] lexical_cast and Unicode

2002-12-02 Thread Jasper van de Gronde
Thanks for the info. Terje Slettebø wrote: From: "Jasper van de Gronde" <[EMAIL PROTECTED]> I use lexical_cast a lot, but when I tried to use it in a program that ... in a future release, but it still isn't. Yes, it's noticed, and it's fixed in a proposition that is scheduled to be ...

Re: [boost] lexical_cast and Unicode

2002-12-01 Thread Terje Slettebø
>From: "Phil Nash" <[EMAIL PROTECTED]> > [Terje Slettebø] > > Speaking of different character types, perhaps there could also be > interest > > for converting between strings of different character types, as well? For > > example: > > > > std::string str=lexical_cast(L"A wide character string");

Re: [boost] lexical_cast and Unicode

2002-12-01 Thread Phil Nash
[Terje Slettebø] > Speaking of different character types, perhaps there could also be interest > for converting between strings of different character types, as well? For > example: > > std::string str=lexical_cast(L"A wide character string"); > std::wstring wstr=lexical_cast("A character string");

Re: [boost] lexical_cast and Unicode

2002-11-30 Thread Terje Slettebø
Speaking of different character types, perhaps there could also be interest for converting between strings of different character types, as well? For example: std::string str=lexical_cast(L"A wide character string"); std::wstring wstr=lexical_cast("A character string"); and the same for char->wch

Re: [boost] lexical_cast and Unicode

2002-11-30 Thread Terje Slettebø
>From: "Jasper van de Gronde" <[EMAIL PROTECTED]> > I use lexical_cast a lot, but when I tried to use it in a program that > uses Unicode I noticed it failed because it uses a standard > stringstream. To solve my problem I simply added another #ifdef that > checked for UNICODE and would then use w

[boost] lexical_cast and Unicode

2002-11-30 Thread Jasper van de Gronde
I use lexical_cast a lot, but when I tried to use it in a program that uses Unicode I noticed it failed because it uses a standard stringstream. To solve my problem I simply added another #ifdef that checked for UNICODE and would then use wstringstream, thinking it would probably be noticed by