Subject: [Boost-bugs] [Boost C++ Libraries] #8267: lexical_cast uses stream buffers incorrectly
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-03-08 12:51:55
#8267: lexical_cast uses stream buffers incorrectly
-------------------------------------+--------------------------------------
Reporter: johnmaddock | Owner: apolukhin
Type: Bugs | Status: new
Milestone: To Be Determined | Component: lexical_cast
Version: Boost Development Trunk | Severity: Showstopper
Keywords: |
-------------------------------------+--------------------------------------
As noted in http://llvm.org/bugs/show_bug.cgi?id=15446 lexical_cast
manipulates stringstream's internal buffer in a non-std conforming way
causing it to fail on libc++.
If it helps any Boost.Regex has a stream buffer class that (probably) does
what you want - see parser_buf in boost/regex/v4/cpp_regex_traits.hpp.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/8267> 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:12 UTC