From: Stjepan Rajko (stipe_at_[hidden])
Date: 2008-07-28 15:44:41
On Mon, Jul 28, 2008 at 8:35 AM, John Maddock <john_at_[hidden]> wrote:
> In which case, anyone object to a remove_member_pointer trait that
> int (foo::*) --> int
> int (foo::*)(double) --> int (double)
> It's also tempting to add a "member_object" trait at the same time that
> int (foo::*) --> foo
> int (foo::*)(double) --> foo
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.
Metafunctions that provide the answers directly would be nice, but I'm
not sure whether they would fit better in TypeTraits or FunctionTypes.