Boost logo

Boost :

From: Stjepan Rajko (stipe_at_[hidden])
Date: 2008-07-29 12:42:46


On Tue, Jul 29, 2008 at 5:06 AM, John Maddock <john_at_[hidden]> wrote:
> Stjepan Rajko wrote:
>>
>> I think I've had a need for both of these before, and IIRC in both
>> cases I used the FunctionTypes library to get the answer.
>
> Hmmm, I don't see anything in the function traits docs to obtain the type of
> an object from a pointer to member [function] ?
>

parameter_types (under type decomposition) returns the (transformed)
type of object as the second element of it's answer for member
function pointers.

Stjepan


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk