Subject: [Boost-bugs] [Boost C++ Libraries] #6504: Compile error when casting std::string to containers::wstring
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-02-01 04:06:55
#6504: Compile error when casting std::string to containers::wstring
--------------------------+-------------------------------------------------
Reporter: apolukhin | Owner: apolukhin
Type: Bugs | Status: new
Milestone: Boost 1.50.0 | Component: lexical_cast
Version: Boost 1.48.0 | Severity: Regression
Keywords: |
--------------------------+-------------------------------------------------
Test case:
{{{
std::wstring std_wstr(L"std_wstr");
boost::container::wstring boost_wstr(L"boost_wstr");
BOOST_CHECK(boost::lexical_cast<std::wstring>(boost_str) == L"boost_str");
BOOST_CHECK(boost::lexical_cast<boost::container::wstring>(std_str) ==
L"std_str");
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6504> 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