|
Boost Users : |
From: Damien Hocking (damien_at_[hidden])
Date: 2008-02-05 19:05:05
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 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