Boost logo

Boost Users :

Subject: Re: [Boost-users] [review][constrained_value] Review of Constrained Value Library begins today
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2008-12-04 11:37:46


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.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net