Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7063: try_unhex() that doesn't throw on bad input
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-09-27 13:16:38
#7063: try_unhex() that doesn't throw on bad input
-------------------------------------------------------+--------------------
Reporter: Olaf van der Spek <olafvdspek@â¦> | Owner: marshall
Type: Feature Requests | Status: new
Milestone: To Be Determined | Component: algorithm
Version: Boost 1.51.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------------------------------+--------------------
Comment (by marshall):
Olaf --
Thinking some more about this, I don't think this belongs in boost, but
rather in your application code.
It throws away useful information, a big no-no in generic code. (The cause
of the failure, and the point of failure)
Of course, in your specific use case, throwing away this information (or
reducing all failures to a single bit) may be perfectly fine, and that's
why it should live in your code.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/7063#comment:5> 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:10 UTC