I am actually working on a few function adaptors that access data members. However the way I phrased the question makes it look like C++ only.
Sorry, Martin. Douglas Gregor wrote in message <[EMAIL PROTECTED]>... >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 >> 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. >> >> >> >> >> >> >> _______________________________________________ >> Unsubscribe & other changes: >> http://lists.boost.org/mailman/listinfo.cgi/boost > >_______________________________________________ >Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost > _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost