Boost logo

Boost :

Subject: Re: [boost] [constrained_value] Constrained Value review results
From: Klaim (mjklaim_at_[hidden])
Date: 2010-10-07 05:01:52


Hi,

I was thinking that static_bounded might be more easily understood by people
used to static_cast.
Following that logic, runtime constrainted types would be prefixed with
dynamic_ like dynamic_cast.

My 2 cents.

On Thu, Oct 7, 2010 at 04:28, Christian Holmquist <c.holmquist_at_[hidden]>wrote:

> >
> > 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
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
>


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