Boost logo

Boost :

Subject: Re: [boost] [Boost-users] [review][constrained_value] Review of Constrained Value Library begins today
From: Mika Heiskanen (mika.heiskanen_at_[hidden])
Date: 2008-12-04 19:42:46


Mathias Gaunard wrote:
> Mika Heiskanen wrote:
>
>> If the value must be checked beforehand, why bother using a constrained
>> type at all?
>
> Because it performs checking in debug mode to make sure the invariant is
> indeed true.

I do not believe boost should accept a library which would only work in
debug mode. I believe boost is mostly about runtime libraries, not about
debugging aids.

--> Mika Heiskanen


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