|
Boost Users : |
From: Mark Snelling (mark_at_[hidden])
Date: 2002-09-16 08:53:35
Ok, I guess I'll just make my own temporary one based on the original in
the meantime :)
Mark.
Björn Karlsson wrote:
>>From: Mark Snelling [mailto:mark_at_[hidden]]
>>
>>Hi,
>>Does the boost::lexical_cast library support wide character sets for
>>example:
>>
>>#include <boost/lexical_cast.hpp>
>>
>>using namespace boost;
>>using namespace std;
>>
>>void main ()
>>{
>> wstring wtext(L"1234");
>> int val = lexical_cast<int>(wtext);
>>}
>>
>
>
> Not the current version of lexical_cast - the implementation uses
> stringstream to perform the conversion. A proposed change to lexical_cast
> does handle wide characters correctly. I'm not sure about the status of that
> proposal, though.
>
> Bjorn Karlsson
>
>
> Info: <http://www.boost.org>
> Wiki: <http://www.crystalclearsoftware.com/cgi-bin/boost_wiki/wiki.pl>
> Unsubscribe: <mailto:boost-users-unsubscribe_at_[hidden]>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net