Boost logo

Boost Users :

Subject: Re: [Boost-users] [traits] Type of class of member function pointer
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-01-30 12:49:06


AMDG

Rutger ter Borg wrote:
> Dear all,
>
> perhaps more out of exercise, but does any of you know whether it is
> possible to get to the type of the class of a member function pointer?
>
> I.e., to somehow get to type T in "R (T::*)()"? (in this particular case, a
> member function without arguments in class T returning R)?
>

Look at the FunctionTypes library.

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