|
Boost Users : |
Subject: Re: [Boost-users] [function] How to get boost::function parameters, return type.
From: Noah Roberts (roberts.noah_at_[hidden])
Date: 2011-04-12 12:50:33
On 4/11/2011 1:27 PM, Mostafa wrote:
> Hi,
>
> Is it possible to decompose boost::function into it's "constituent"
> parameters and return type, a la Boost.FunctionTypes?
>
Sure!
You can use function_types on the Signature that function was
instantiated with:
You can also access the member types within the function:
http://www.boost.org/doc/libs/1_42_0/doc/html/boost/functionN.html
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