
8 Jun
2009
8 Jun
'09
10:34 p.m.
AMDG Dave Bonora wrote:
Does boost contain a utility that can generate an mpl sequence populated with the parameter types of a given function? I'm hoping to avoid the pains of implementing the functionality myself.
For instance, given the function:
void Func( int, const char* );
I could generate and access an mpl::vector sequence:
mpl::vector
Only if you know the type of the function. http://www.boost.org/libs/function_types In Christ, Steven Watanabe