Boost logo

Boost :

Subject: Re: [boost] [mpl] BOOST_MPL_HAS_XXX_TEMPLATE_NAMED_DEF
From: Edward Diener (eldiener_at_[hidden])
Date: 2010-07-19 09:48:15


On 7/19/2010 1:32 AM, Adam Merz wrote:
> Edward Diener<eldiener<at> tropicsoft.com> writes:
>> Thanks for your code. I will look at it and see if I can't do something
>> further on my own which would allow one to find out the number and type
>> of the template parameters of a class template at compile time, given
>> the template name. Something instinctively tells me that this might be
>> accessible, if it has not already been done.
>
> I gave you code to detect member template arity a few days ago on the MSDN
> forums [1], highly suited to preprocessor generation. Does it not suit your
> needs?
>
> [1] http://preview.tinyurl.com/32aghf3

Thanks for reminding me of your solution for template arity !


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