Boost C++ Libraries: Ticket #6453: Compile error due to `deduce_char_traits` ambiguity https://svn.boost.org/trac10/ticket/6453 <p> The following code fails to compile due to <code>deduce_char_traits</code> ambiguity: </p> <pre class="wiki">#include &lt;iostream&gt; #include &lt;string&gt; #include &lt;boost/container/string.hpp&gt; #include &lt;boost/lexical_cast.hpp&gt; int main (int argc, char* argv[]) { std::string str; boost::container::string str_; std::cout &lt;&lt; boost::lexical_cast&lt;std::string&gt;(str_) &lt;&lt; std::endl; return 0; } </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6453 Trac 1.4.3 Antony Polukhin Thu, 26 Jan 2012 18:26:25 GMT owner, status changed https://svn.boost.org/trac10/ticket/6453#comment:1 https://svn.boost.org/trac10/ticket/6453#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">nasonov</span> to <span class="trac-author">Antony Polukhin</span> </li> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> Ticket Antony Polukhin Thu, 26 Jan 2012 18:26:45 GMT cc set https://svn.boost.org/trac10/ticket/6453#comment:2 https://svn.boost.org/trac10/ticket/6453#comment:2 <ul> <li><strong>cc</strong> <span class="trac-author">antoshkka@…</span> added </li> </ul> Ticket Antony Polukhin Wed, 01 Feb 2012 04:25:09 GMT <link>https://svn.boost.org/trac10/ticket/6453#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6453#comment:3</guid> <description> <p> Test case added in <a class="changeset" href="https://svn.boost.org/trac10/changeset/76817" title="Added tests for ticket #6453">r76817</a> </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Antony Polukhin</dc:creator> <pubDate>Wed, 01 Feb 2012 04:25:24 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/6453#comment:4 https://svn.boost.org/trac10/ticket/6453#comment:4 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</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/76818" title="FIxes #6453 (compile error due to deduce_char_traits ambiguity)">[76818]</a>) FIxes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6453" title="#6453: Bugs: Compile error due to `deduce_char_traits` ambiguity (closed: fixed)">#6453</a> (compile error due to deduce_char_traits ambiguity) </p> Ticket Antony Polukhin Sat, 04 Feb 2012 18:04:48 GMT <link>https://svn.boost.org/trac10/ticket/6453#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6453#comment:5</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/76887" title="Merge from trunk (fixed #6251, fixed #6453, disabled some ...">[76887]</a>) Merge from trunk (fixed <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6251" title="#6251: Bugs: mingw gcc-4.5.0 compiler error: Undeclared swprintf (closed: fixed)">#6251</a>, fixed <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6453" title="#6453: Bugs: Compile error due to `deduce_char_traits` ambiguity (closed: fixed)">#6453</a>, disabled some optimizations for sunCC <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6462" title="#6462: Bugs: lexical_cast fails on Linux with Sun CC (closed: fixed)">#6462</a>) </p> </description> <category>Ticket</category> </item> </channel> </rss>