[Boost-bugs] [Boost C++ Libraries] #8966: No exception thrown (e.g. std::bad_alloc) on allocation failure in lexical_cast

Subject: [Boost-bugs] [Boost C++ Libraries] #8966: No exception thrown (e.g. std::bad_alloc) on allocation failure in lexical_cast
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-08-05 08:28:31


#8966: No exception thrown (e.g. std::bad_alloc) on allocation failure in
lexical_cast
--------------------------------------+--------------------------
 Reporter: Martin <martin.raiber@…> | Owner: apolukhin
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: lexical_cast
  Version: Boost Development Trunk | Severity: Cosmetic
 Keywords: |
--------------------------------------+--------------------------
 It would be nice, if lexical_cast would throw a different exception from
 bad_lexical_cast, if an allocation failure occurs.
 For example by setting stream.exceptions(std::ios::badbit); in line 1999
 (it would then throw std::bad_alloc).

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