Boost C++ Libraries: Ticket #9659: lexical_cast<bool> not functioning properly https://svn.boost.org/trac10/ticket/9659 <p> commit dc9b364d6f3033712a93cae14d15ca3736dd39da (from boost 1.47.0) changed the behavior of boost::lexical_cast&lt;bool&gt;("00"). Prior, this string (and any number of 0's in a row) would successfully cast to false. Starting with that commit, the conversion will throw boost::bad_lexical_cast. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/9659 Trac 1.4.3 Antony Polukhin Wed, 05 Mar 2014 10:51:30 GMT status, milestone changed https://svn.boost.org/trac10/ticket/9659#comment:1 https://svn.boost.org/trac10/ticket/9659#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.56.0</span> </li> </ul> <p> <a class="ext-link" href="https://github.com/boostorg/conversion/commit/d1a51b897dd68c81e8ad8ad4bd3fcd93ee94935e"><span class="icon">​</span>Initial fix</a> for that issue was committed to GIT's develop branch. </p> Ticket Antony Polukhin Wed, 19 Mar 2014 13:44:24 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/9659#comment:2 https://svn.boost.org/trac10/ticket/9659#comment:2 <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> <a class="ext-link" href="https://github.com/boostorg/conversion/commit/e3e4d3836a4e0323848f13e8c57409786dc93cc7"><span class="icon">​</span>Fix merged</a> to master branch. </p> Ticket