Boost logo

Boost :

From: Beman Dawes (beman_at_[hidden])
Date: 2000-12-07 11:21:23


At 08:38 AM 12/7/2000 -0500, David Abrahams wrote:

>Reviewing my own submission, one thing I might like to see someday is a
way
>to report conversion failures that doesn't involve exceptions. Sometimes
>you
>just want to ask the question "does this value fit in a T?" and the
answer
>needs to be handled locally even if it's no (e.g. "OK, in that case I'll
do
>the computation with a BigNum"). For these situations, an exception
doesn't
>seem as appropriate.

That seems like a real need to me, and definitely different from the need
met by numeric_cast<>().

--Beman


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk