Boost logo

Boost :

From: Martin Bosticky (mbosticky_at_[hidden])
Date: 2002-11-21 11:31:11


Does anybody know if it is possible to extract a class type from a
pointer-to-member type/object?

ie if i have

template<class pointer_to_member_type>
void foo(pointer_to_member_type AMember)
... //? can i figure out here what the type is for the object to which the
pointer-to-member pointer belongs?

Regards, Martin.

Boost list run by bdawes at, gregod at, cpdaniel at, john at