this tag is normally used with questions about creating a pointer to a non-static member function of a class in the C++ programming language.
The question is the following: consider this piece of code: #include <iostream> class aClass { public: void aTest(int …
c++ arguments parameter-passing function-pointers pointer-to-memberI'm currently using GCC 4.4, and I'm having quite the headache casting between void* and a pointer to member function. I'm …
c++ pointers lua pointer-to-memberI found something interesting. The error message says it all. What is the reason behind not allowing parentheses while taking …
c++ function-pointers pointer-to-memberYes, I've seen this question and this FAQ, but I still don't understand what ->* and .* mean in C++. …
c++ operators pointer-to-member operator-arrow-starGiven an example class: class Fred { public: Fred() { func = &Fred::fa; } void run() { int foo, bar; *func(foo,bar); } …
c++ pointer-to-memberIt looks like std::cout can't print member function's address, for example: #include <iostream> using std::cout; using …
c++ pointers function-pointers pointer-to-memberI'm trying to get a pointer to a specific version of an overloaded member function. Here's the example: class C { …
c++ overloading pointer-to-memberI'm experimenting with C++ to understand how class/structures and their respective objects are laid out in memory and I …
c++ memory function-pointers pointer-to-memberI want to use a pointer to a class member as a template parameter as in: template <class Class, …
c++ templates c++11 c++14 pointer-to-member