|
Boost : |
From: Peter Dimov (pdimov_at_[hidden])
Date: 2006-01-13 09:39:34
Christopher Kohlhoff wrote:
> What should happen then if an out of range value is passed? The
> choice is between:
>
> - Silently changing the values to something in the range 0..255.
Unacceptable, IMO.
> - Throwing an exception (using boost::throw_exception of course,
> so that platforms that lack exceptions can use another way of
> handling the error).
- BOOST_ASSERT
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk