Boost logo

Boost :

From: Martin Bosticky (mbosticky_at_[hidden])
Date: 2002-11-21 12:38:16


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 <200211211141.37675.gregod_at_[hidden]>...
>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
>


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk