Boost logo

Boost :

Subject: Re: [boost] [constrained_value] Constrained Value review results
From: Christian Holmquist (c.holmquist_at_[hidden])
Date: 2010-10-06 22:28:20


>
> bounded<int> // bounds specified at runtime
> bounded_ct<int, 0, 10> // bounds specified as compile time constants
>
> Looks good to me.
>
> Maybe even "c" alone would suffice?
>
> bounded_c<int, 0, 10>
>
> Reminds me of boost::mpl::integral_c.
>
>
+1 for bounded and bounded_c.

/ Christian


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