[boost] pointer to member

2002-11-22 Thread Anthony Williams
Martin Bosticky writes: > Does anybody know if it is possible to extract a class type from a > pointer-to-member type/object? > > ie if i have > > template > void foo(pointer_to_member_type AMember) > { > ... //? can i figure out here what the type is for the object to which the > point

Re: [boost] pointer to member

2002-11-21 Thread Douglas Gregor
This is off-topic for the Boost list. Please take your question to another forum appropriate for general C++ questions (e.g., comp.lang.c++.moderated). Doug On Thursday 21 November 2002 11:31 am, Martin Bosticky wrote: > Does anybody know if it is possible to extract a class type from a

[boost] pointer to member

2002-11-21 Thread Martin Bosticky
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 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] pointer to member

2002-11-21 Thread Martin Bosticky
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 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.