|
Boost : |
From: David Abrahams (dave_at_[hidden])
Date: 2005-12-09 17:50:25
Thorsten Ottosen <tottosen_at_[hidden]> writes:
> I've heard people saying they would like to use numeric_cast if it did
> not throw, but did an assertion.
I think it would be a good idea to have that option. However, I don't
think the global throw_exception hook is the way to get there. You
want per-conversion control, not global state setting.
-- Dave Abrahams Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk