Boost logo

Boost :

From: Sohail Somani (s.somani_at_[hidden])
Date: 2006-05-17 12:22:58

> -----Original Message-----
> From: boost-bounces_at_[hidden]
> [mailto:boost-bounces_at_[hidden]] On Behalf Of Gerhard Wesp
> Sent: Wednesday, May 17, 2006 2:29 AM
> To: boost_at_[hidden]
> Subject: Re: [boost] BigInt divide-by-zero handling
> > Since ordinary ints just throw an exception, and my goal
> is to make
> I don't think ordinary ints throw exceptions. Nevertheless,
> I think you
> should.

I disagree. I check for divide by zero or write code that doesn't allow
them to happen. If I wanted an exception for any possible operation, I'd
use java (I'm not flaming - I think).

Do an assertion in debug mode, U.B. in release. This is most sensible
for a type that is an extension of a built-in type.

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