This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

bound pointer to member


Hi,

I search for a simple code snipped which shows how bound pointers work.
I always end up in the message : 

main.cpp:51: error: ISO C++ forbids taking the address of a bound member function to form a pointer to member function.  Say â&A::Func2â

Can anyone post a code snippet which compiles on g++? Is there a need to give any special options to enable this language extension?

Thanks
 Klaus


-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]