
8 May
2007
8 May
'07
5:49 a.m.
Hello, I'm using BOOST libraries in my developments. I need a trait returning the class type from a pointer to member type. An example: member_of<int(A::*)(void)>::type // this equals to 'A' member_of<void(B::*)(int) const>::type // this equals to 'B const' member_of<void(void)>::type // this equals to an undefined struct I don't know if the functionality I need exists in BOOST. I hope so. If not, should it be difficult to provide? Maybe doing some modifications to is_member_function_pointer. Thanks in advance