|
Boost : |
From: Martin Bosticky (mbosticky_at_[hidden])
Date: 2002-11-21 11:31:11
Hi
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 acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk