Re: [Boost-bugs] [Boost C++ Libraries] #13536: boost::lexical_cast<int>(" 1 ") can no longer handle whitespace

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #13536: boost::lexical_cast<int>(" 1 ") can no longer handle whitespace
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-04-27 07:58:25


#13536: boost::lexical_cast<int>(" 1 ") can no longer handle whitespace
---------------------------------+-----------------------------
  Reporter: maxim.egorushkin@… | Owner: Antony Polukhin
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: lexical_cast
   Version: Boost 1.61.0 | Severity: Showstopper
Resolution: | Keywords:
---------------------------------+-----------------------------

Comment (by Antony Polukhin):

 LexicalCast should not handle that inpit. There's even a test that is at
 least 13 years old to make sure that
 [https://github.com/boostorg/lexical_cast/blame/master/test/lexical_cast_test.cpp#L190
 lexical cast throws on whitespaces in input].

-- 
Ticket URL: <https://svn.boost.org/trac10/ticket/13536#comment:1>
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 : 2018-04-27 08:04:41 UTC