[review][constrained_value] Review of Constrained Value Library begins today
Jeff Garland <jeff <at> crystalclearsoftware.com>
2008-12-01 12:30:58 GMT
Hi all,
The review of the Robert Kawulak's Constrained Value library begins today
December 1, 2008, and will end on December 10th -- I will be the review
manager. Please post reviews to the developer list.
Here's the library synopsis:
The Boost Constrained Value library contains class templates useful for
creating constrained objects. A simple example is an object representing an
hour of a day, for which only integers from the range [0, 23] are valid values.
bounded_int<int, 0, 23>::type hour;
hour = 20; // OK
hour = 26; // exception!
Behavior in case of assignment of an invalid value can be customized. The
library has a policy-based design to allow for flexibility in defining
constraints and behavior in case of assignment of invalid values. Policies may
be configured at compile-time for maximum efficiency or may be changeable at
runtime if such dynamic functionality is needed.
The library can be downloaded from the here:
http://rk.go.pl/f/constrained_value.zip
The documentation is also available online here:
http://rk.go.pl/r/constrained_value
---------------------------------------------------
(Continue reading)