
30 May
2006
30 May
'06
11:11 a.m.
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. Regards, Maarten. "Bronek Kozicki" <brok@rubikon.pl> wrote in message news:447C063F.6060209@rubikon.pl...
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.
B.
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost