Re: [Boost-bugs] [Boost C++ Libraries] #7929: boost::lexical_cast< std::string, std::wstring > gives a compiler error.

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7929: boost::lexical_cast< std::string, std::wstring > gives a compiler error.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-01-29 06:29:23


#7929: boost::lexical_cast< std::string, std::wstring > gives a compiler error.
----------------------------------+-----------------------------------------
  Reporter: nate@… | Owner: vladimir_prus
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: program_options
   Version: Boost 1.52.0 | Severity: Problem
Resolution: | Keywords:
----------------------------------+-----------------------------------------

Comment (by nate@…):

 I'm not sure I agree that `lexical_cast` is just supposed to be a wrapper
 around `std::stringstream` when its own documentation states:

     The lexical_cast function template offers a convenient and consistent
 form for supporting common conversions to and from arbitrary types when
 they are represented as text.

 That, to me, sounds like it should work for converting `std::wstring` to
 `std::string`. It is an common conversion dealing with arbitrary types and
 text.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7929#comment:2>
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:11 UTC