Boost logo

Boost :

From: Larry Evans (cppljevans_at_[hidden])
Date: 2004-12-29 09:08:25


On 12/29/2004 06:46 AM, Larry Evans wrote:
> On 12/29/2004 05:33 AM, Daniel Wallin wrote:
> [snip]
>
>> What's wrong with mpl::integral_c<> ?
>
> OOPS. I missed that. Thanks.

I started to use it; however, in the particular application
I have (located at http://boost-sandbox.sourceforge.net/vault/index.php?
in placeholders_test.cpp), the T must be separate from the value.
In other words instead of:

   template<class T, T N> struct integral_c,

I need the N to be separate in order to use it as the a_index template
argument to typemap_valued_placeholdered<,>::at<a_index>.

Can you see any other way?

TIA.


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