Subject: [Boost-bugs] [Boost C++ Libraries] #5746: Bugs in lexical_cast<unsigned_char> and <long long>
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-08-02 17:41:41
#5746: Bugs in lexical_cast<unsigned_char> and <long long>
------------------------------+---------------------------------------------
Reporter: johnmaddock | Owner: nasonov
Type: Bugs | Status: new
Milestone: To Be Determined | Component: lexical_cast
Version: Boost 1.47.0 | Severity: Problem
Keywords: |
------------------------------+---------------------------------------------
The following expressions throw bad_lexical_cast exceptions, when I
believe they should succeed just fine:
{{{
boost::lexical_cast<unsigned char>("128");
boost::lexical_cast<unsigned char>("64");
}}}
Conversion from smaller numbers such as "2" work just fine
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/5746> 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:07 UTC