Boost logo

Boost :

From: Beman Dawes (beman_at_[hidden])
Date: 1999-09-01 11:35:12


Greg Colvin wrote:

>From: Beman Dawes <beman_at_[hidden]>
>>
>> It is looking like we have to remove the asserts from the
>> throw_on_error versions of the casts.
>
>Perhaps. But doesn't that prejudge the policy question of whether
to
>forbid uses of assert in Boost headers that could contribute to ODR
>violations if NDEBUG is inconsistently defined?
>
>Myself, I like assert, like that it is on by default, encourage its
use
>in libraries, and trust users of the library who wish to disable
assert
>to do so consistently.

I know, I know. It is a rough tool but the only thing we have. But
I really dislike the idea of ODR violations in Boost headers.

Maybe after this dicussion runs a bit longer, we ought to take a
vote.

--Beman


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