|
Boost Users : |
Subject: Re: [Boost-users] Access function parameter types as mpl sequence?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-06-08 18:34:05
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<int, const char*>
>
Only if you know the type of the function.
http://www.boost.org/libs/function_types
In Christ,
Steven Watanabe
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