M
Michael Feathers
I was wondering if it is at all possible to detect the arity of
constructors at compile time using some combination of macros and
template metaprogramming. I'd like to be able to determine whether
a class has, for instance, a constructor with two arguments or a
constructor with three arguments. Is there any way to do this?
Michael
constructors at compile time using some combination of macros and
template metaprogramming. I'd like to be able to determine whether
a class has, for instance, a constructor with two arguments or a
constructor with three arguments. Is there any way to do this?
Michael