Re: [Boost-bugs] [Boost C++ Libraries] #5689: lexical_cast must understand "inf" and "nan"

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5689: lexical_cast must understand "inf" and "nan"
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-08-05 03:35:44


#5689: lexical_cast must understand "inf" and "nan"
--------------------------------------+-------------------------------------
  Reporter: apolukhin | Owner: apolukhin
      Type: Bugs | Status: closed
 Milestone: Boost 1.48.0 | Component: lexical_cast
   Version: Boost Development Trunk | Severity: Regression
Resolution: fixed | Keywords: inf nan fininte
--------------------------------------+-------------------------------------

Comment (by apolukhin):

 It is impossible, because:
 * it depends on functions of boost::math that exist only in trunk
 * this patch depends on some previous patches for lexical_cast that are
 only commited in trunk version and are not fully tested
 * this fix is a workaround for some rare compiler error, it can wait till
 1.48

 stringstream won`t help you, in 1.47 lexical_cast uses stringstream to
 convert float types. And VC++ hav no problems with conversion.

 You can always use a trunk version of boost. It will bring you all the new
 (but not always stable) features.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5689#comment:4>
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:07 UTC