Boost logo

Boost :

Subject: Re: [boost] [mpl] BOOST_MPL_HAS_XXX_TEMPLATE_NAMED_DEF
From: Adam Merz (adammerz_at_[hidden])
Date: 2010-07-19 01:32:19


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


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