Boost C++ Libraries: Ticket #6504: Compile error when casting std::string to containers::wstring https://svn.boost.org/trac10/ticket/6504 <p> Test case: </p> <pre class="wiki">std::wstring std_wstr(L"std_wstr"); boost::container::wstring boost_wstr(L"boost_wstr"); BOOST_CHECK(boost::lexical_cast&lt;std::wstring&gt;(boost_str) == L"boost_str"); BOOST_CHECK(boost::lexical_cast&lt;boost::container::wstring&gt;(std_str) == L"std_str"); </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6504 Trac 1.4.3 Antony Polukhin Sat, 07 Apr 2012 19:44:12 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/6504#comment:1 https://svn.boost.org/trac10/ticket/6504#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/77824" title="* fixes #6504 (characters widening fixed) * much more tests * better ...">[77824]</a>) * fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6504" title="#6504: Bugs: Compile error when casting std::string to containers::wstring (closed: fixed)">#6504</a> (characters widening fixed) </p> <ul><li>much more tests </li><li>better support for unicode characters and template classes that are instantinated with unicode character types </li><li>meta code refactored (it is now shorter and clearer) </li></ul> Ticket Antony Polukhin Thu, 12 Apr 2012 17:15:27 GMT <link>https://svn.boost.org/trac10/ticket/6504#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6504#comment:2</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/77936" title="Fix compile time error in lexical_cast, when new unicode characters ...">[77936]</a>) Fix compile time error in lexical_cast, when new unicode characters are being converted (Refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6504" title="#6504: Bugs: Compile error when casting std::string to containers::wstring (closed: fixed)">#6504</a> ) </p> </description> <category>Ticket</category> </item> </channel> </rss>