Boost logo

Boost Users :

From: Max (LoadCom_at_[hidden])
Date: 2008-02-05 20:01:22


AFAIUC, this is different, what the original need is
to get the type from a given MyFunction type.

Max

>In a rush here, you want boost function_traits.
>
>
>
>Damien
>
>
>
> _____
>
>From: boost-users-bounces_at_[hidden]
>[mailto:boost-users-bounces_at_[hidden]] On Behalf Of Robert Dailey
>Sent: Tuesday, February 05, 2008 5:00 PM
>To: boost [usr]
>Subject: [Boost-users] [function] How to obtain the signature type?
>
>
>
>Hi,
>
>Currently I have the following:
>
>typedef boost::function<void (int)> MyFunction;
>
>Is there a typedef in the boost::function class for the Signature template
>parameter? I need access to the function type passed into the
>boost::function object. I've tried finding the boost::function class in the
>source, but that turned out to be impossible. The documentation also does
>not explain how to do this from what I saw.
>
>Any help is appreciated.
>
>
>_______________________________________________
>Boost-users mailing list
>Boost-users_at_[hidden]
>http://lists.boost.org/mailman/listinfo.cgi/boost-users


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