Boost logo

Boost :

Subject: Re: [boost] Tests are a mess
From: Peter Dimov (pdimov_at_[hidden])
Date: 2008-09-10 20:18:11


Robert Ramey:

> Pete Bartlett wrote:

>> Sadly, by introducing boost::serialization::throw_exception, you have
>> foisted work on me and other users of your library. Now we have to
>> implement
>>
>> boost::serialization::throw_exception instead of just having one
>> boost::throw_exception. This is exactly the kind of breakage you've
>> been so strongly opposed to.
>
> You're blaming the victim here. This problem isn't caused by me, I felt I
> had no other reasonable alternative.

This particular problem is caused by you. There is no good technical reason
to declare a separate throw_exception in another namespace for the user to
implement. You should have re-declared boost::throw_exception.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk