Boost logo

Boost Users :

From: Joel de Guzman (joel_at_[hidden])
Date: 2008-01-17 05:10:29


Steven Watanabe wrote:
> AMDG
>
> Joel de Guzman wrote:
>> Steven Watanabe wrote:
>>
>>
>>> Also, one thing that needs to be nailed down is: What Is I?
>>> Tobias was using it as the index into the list of labels:
>>> mpl::int_<0>, mpl::int_<1>, mpl::int_<2>, ...
>>> In my original interface and as you seem to be using it I is one of:
>>> mpl::at_c<labels, 0>::type, mpl::at_c<labels, 1>::type,
>>> mpl::at_c<labels, 2>::type
>>>
>> It's in the concept I presented:
>>
>> I An MPL Integral Constant type
>>
>> Here:
>>
>> http://boost.org/libs/mpl/doc/refmanual/integral-constant.html
>>
>> Anything special I am missing?
>>
>
> What I meant was where they come from and thus how they should be
> interpreted.
> If you have mpl::vector_c<int, 4,2, 7> do you get
> mpl::int_<0>, mpl::int_<1>, and mpl::int_<2>
> or
> mpl::int_<4>, mpl::int_<2>, and mpl::int_<7>?

The latter.

Regards,

-- 
Joel de Guzman
http://www.boost-consulting.com
http://spirit.sf.net

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net