From: Maarten Kronenburg (M.Kronenburg_at_[hidden])
Date: 2006-05-30 07:11:55
I do not agree with you.
First of all the function works for zero argument,
namely leaving the argument unchanged.
Second, negation is subtraction from zero,
so when subtractions with negative result
throw an exception, negation of
non-zero values should also throw an exception.
That is how the mathematics is defined.
"Bronek Kozicki" <brok_at_[hidden]> wrote in message
> Maarten Kronenburg wrote:
> > The negate() of a non-zero unsigned_integer
> > will always throw an exception.
> if function never works, it should not belong to interface.
> Unsubscribe & other changes:
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk