Boost logo

Boost :

Subject: [boost] Generic try, catch in boost::lexical_cast
From: Jeroen Habraken (vexocide_at_[hidden])
Date: 2011-05-19 05:53:48


Whilst updating SVN today I spotted a change to boost::lexical_cast,, which introduces a
try { } catch(...) { } construction. I'm curious as to why this
catch-all is needed since it seems to be there to deal with
boost::numeric_cast exceptions and whether it could lead to a
std::bad_alloc being rethrown as a bad_lexical_cast.

Kind regards,
Jeroen Habraken

Boost list run by bdawes at, gregod at, cpdaniel at, john at