Boost C++ Libraries: Ticket #6298: Throws bad_lexical_cast when used with empty vector https://svn.boost.org/trac10/ticket/6298 <p> <code>lexical_cast</code> throws <code>bad_lexical_cast</code> when used with an empty <code>std::vector</code>. See attached test case. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6298 Trac 1.4.3 Braden McDaniel <braden@…> Mon, 19 Dec 2011 16:35:06 GMT attachment set https://svn.boost.org/trac10/ticket/6298 https://svn.boost.org/trac10/ticket/6298 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">lexical_cast_test.cpp</span> </li> </ul> <p> Test case </p> Ticket Braden McDaniel <braden@…> Mon, 19 Dec 2011 16:51:49 GMT <link>https://svn.boost.org/trac10/ticket/6298#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6298#comment:1</guid> <description> <p> Possibly the same as <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6264" title="#6264: Bugs: LexicalCast no longer works properly under some conditions (closed: fixed)">#6264</a>. </p> </description> <category>Ticket</category> </item> <item> <author>Braden McDaniel <braden@…></author> <pubDate>Mon, 19 Dec 2011 20:42:28 GMT</pubDate> <title>owner changed https://svn.boost.org/trac10/ticket/6298#comment:2 https://svn.boost.org/trac10/ticket/6298#comment:2 <ul> <li><strong>owner</strong> changed from <span class="trac-author">nasonov</span> to <span class="trac-author">Antony Polukhin</span> </li> </ul> <p> This was broken by the fix to <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6083" title="#6083: Bugs: Illegal Derefence (closed: fixed)">#6083</a> (<a class="changeset" href="https://svn.boost.org/trac10/changeset/75411" title="Fixes #6083 Merge from trunk">r75411</a>). </p> Ticket Antony Polukhin Tue, 20 Dec 2011 17:11:43 GMT status changed https://svn.boost.org/trac10/ticket/6298#comment:3 https://svn.boost.org/trac10/ticket/6298#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> Ticket Antony Polukhin Wed, 21 Dec 2011 17:03:57 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/6298#comment:4 https://svn.boost.org/trac10/ticket/6298#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/76096" title="Fixes #6298 Fixes #6264">[76096]</a>) Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6298" title="#6298: Bugs: Throws bad_lexical_cast when used with empty vector (closed: fixed)">#6298</a> Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6264" title="#6264: Bugs: LexicalCast no longer works properly under some conditions (closed: fixed)">#6264</a> </p> Ticket