0

What does Obj::* mean? What is it called?

template<typename Return, typename Obj, typename... Args>
void
addRouteSyncReturn(
                   Return (Obj::* pmf) (Args...),
)
{
...
}
Hung Minh Tran
  • 120
  • 1
  • 6
  • 1
    Your question is "what does `Obj::*` mean." That question is "why does C++ have this pointer to a non-static data member of a class." What is the difference? ;-) – L. F. May 23 '19 at 09:49
  • 1
    and *"member"* can be a *method*(function), as in your case, so "pointer on method" or "pointer on member function". – Jarod42 May 23 '19 at 09:50

0 Answers0