[Boost-bugs] [Boost C++ Libraries] #6264: LexicalCast no longer works properly under some conditions

Subject: [Boost-bugs] [Boost C++ Libraries] #6264: LexicalCast no longer works properly under some conditions
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-12-14 14:20:40


#6264: LexicalCast no longer works properly under some conditions
-----------------------------------------------------+----------------------
 Reporter: Akim Demaille <akim.demaille@…> | Owner: apolukhin
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: lexical_cast
  Version: Boost 1.48.0 | Severity: Regression
 Keywords: |
-----------------------------------------------------+----------------------
 The following program is a stripped down version of something that used to
 work properly with the previous versions of Boost. I failed to make it
 smaller. I'm using G++ 4.2, but, fwiw, clang++ gives the same result.

 The output is:

 {{{
 FAIL: bad lexical cast: source type value could not be interpreted as
 target
 }}}

 With non-empty strings to "escape" (in the real situation, of course
 Escape does something useful), it works properly.

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