
21 May
2008
21 May
'08
1:48 p.m.
Neal Becker wrote:
Robert Kawulak wrote:
From: Neal Becker One thing might be useful is to have the option to record minimum and maximum values that are used during a given computation.
... It would be easy to do this by making my own compare_type (with memory), except for the unfortunate fact that within_bounds doesn't (currently) always call with the arguments in the same order:
if( lower_bound_included() ) return compare()(value, lower_bound()); else return !compare()(lower_bound(), value);