[Boost-bugs] [Boost C++ Libraries] #9659: lexical_cast<bool> not functioning properly

Subject: [Boost-bugs] [Boost C++ Libraries] #9659: lexical_cast<bool> not functioning properly
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-02-11 21:06:56


#9659: lexical_cast<bool> not functioning properly
------------------------------+--------------------------
 Reporter: tclarke@… | Owner: apolukhin
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: lexical_cast
  Version: Boost 1.47.0 | Severity: Regression
 Keywords: |
------------------------------+--------------------------
 commit dc9b364d6f3033712a93cae14d15ca3736dd39da (from boost 1.47.0)
 changed the behavior of boost::lexical_cast<bool>("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.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9659>
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:15 UTC