Boost logo

Boost :

From: Pedro Lamarão (pedro.lamarao_at_[hidden])
Date: 2006-05-26 16:17:12

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

Boost list run by bdawes at, gregod at, cpdaniel at, john at