Boost logo

Boost :

Subject: Re: [boost] [review][constrained_value] Review of Constrained ValueLibrary begins today
From: Gordon Woodhull (gordon_at_[hidden])
Date: 2008-12-06 18:50:39


I wrote:
> Also it might be worthwhile to point out that shared runtime mutable
> constraints with no overhead per constrained object are possible,
> using static members. (Or maybe that's too weird.) I might
> implement epsilon this way, as my impression is that
> numeric_limits<>::epsilon() is not useful for this purpose.

Of course I won't use this technique but something more like what's
described in "Compile-time fixed bounds" - don't know what I was
thinking. Runtime modification of epsilon is just silly.


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