Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6700: Exceptionless lexical_cast
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-01-30 09:16:33
#6700: Exceptionless lexical_cast
-----------------------------------------------+--------------------------
Reporter: Olaf van der Spek <olafvdspek@â¦> | Owner: apolukhin
Type: Feature Requests | Status: reopened
Milestone: To Be Determined | Component: lexical_cast
Version: Boost 1.48.0 | Severity: Problem
Resolution: | Keywords:
-----------------------------------------------+--------------------------
Comment (by Troy Korjuslommi <troykor@â¦>):
I can post proper tests and docs once this patch gets some positive
comments. The comments in this ticket seem sufficient for reviewing the
patch itself.
The lexical_cast function doesn't compile with -DBOOST_NO_EXCEPTIONS
either, and this ticket had no mention of it. I did consider it, but it
didn't seem to be an concern here. I guess I was wrong. I will see what
needs to be done.
The patch against numeric::converter should be developed independently, as
it's a separate package. Once it works, try_lexical_cast can be modified
to call it's non throwing function. That's a one line change.
As I see it, the patch solves the issue at hand. Adding the
-DBOOST_NO_EXCEPTIONS support and calls to modified numeric::converter can
be added once the basic functionality is approved.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6700#comment:10> 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:15 UTC