Boost logo

Boost :

Subject: [boost] [review][constrained_value] Review of Constrained Value Library begins today
From: Jeff Garland (jeff_at_[hidden])
Date: 2008-12-01 07:30:58

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:

The documentation is also available online here:


Please state in your review, whether you think the library should be
accepted as a Boost library. Additionally, please consider the following
aspects in your review of the library:

- What is your evaluation of the design?
- What is your evaluation of the implementation?
- What is your evaluation of the documentation?
- What is your evaluation of the potential usefulness of the library?
- Did you try to use the library? With what compiler? Did you have any
- How much effort did you put into your evaluation? A glance? A quick
reading? In-depth study?
- Are you knowledgeable about the problem domain?



Boost list run by bdawes at, gregod at, cpdaniel at, john at