Boost logo

Boost Users :

Subject: [Boost-users] Access function parameter types as mpl sequence?
From: Dave Bonora (dave.bonora_at_[hidden])
Date: 2009-06-08 18:19:51


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<int, const char*>

Thanks!



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net