
26 May
2006
26 May
'06
8:17 p.m.
Maarten Kronenburg escreveu:
Gerhard, Negating an unsigned_integer that is not zero is like taking the square root from a negative value, or dividing an integer by zero: an exception is thrown.
Why introduce this C++ exception for "integer division by zero"? Why not simply allow the implementation to hit the corresponding hardware exception? -- Pedro LamarĂ£o