Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6186: lexical_cast on vs2005 with wchar_t-
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-12-13 19:34:33
#6186: lexical_cast on vs2005 with wchar_t-
-------------------------------+--------------------------------------------
Reporter: anonymous | Owner: apolukhin
Type: Bugs | Status: closed
Milestone: To Be Determined | Component: lexical_cast
Version: Boost 1.48.0 | Severity: Problem
Resolution: fixed | Keywords:
-------------------------------+--------------------------------------------
Comment (by cheng.yang <luckyangcheng@â¦>):
Totally, there are 3 cases when wchar_t is defined as unsigned short:
Case 1) User do lexical_cast for unsigned short, here no wchar_t defined.
Case 2) User do lexical_cast for unsigned short, but wchar_t defined.
Case 3) User do lexical_cast for wchar_t.
For all the cases, you can only cast unsigned short to one of the type,
wchar_t or a number.
It's just like: You can't have your cake and eat it too.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6186#comment:7> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:08 UTC