[Boost-bugs] [Boost C++ Libraries] #1920: lexical_cast with tuple target fails, because of cleared skipws flag

Subject: [Boost-bugs] [Boost C++ Libraries] #1920: lexical_cast with tuple target fails, because of cleared skipws flag
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-05-15 18:07:28


#1920: lexical_cast with tuple target fails, because of cleared skipws flag
--------------------------------------------------+-------------------------
 Reporter: Bryan Green <bryan.d.green_at_[hidden]> | Owner: djowel
     Type: Bugs | Status: new
Milestone: Boost 1.36.0 | Component: tuple
  Version: Boost Development Trunk | Severity: Problem
 Keywords: tuple tuple_io lexical_cast |
--------------------------------------------------+-------------------------
 Doing a lexical_cast to a tuple does not work, because lexical_cast clears
 the skipws flag.

 The issue is described in the FAQ for lexical_cast:
 http://www.boost.org/doc/libs/1_35_0/libs/conversion/lexical_cast.htm#faq

 The tuple's operator>> apparently needs to set the iostate appropriately.

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1920>
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:49:57 UTC