You need a cast to disambiguate the overloaded function:
(int(A::*)(int,int))&A::operator()
More Related Contents:
- What does the namespace std add? (C++) [closed]
- Converting std::__cxx11::string to std::string
- Sorting zipped (locked) containers in C++ using boost or the STL
- Flattening iterator
- Why is the destructor of a future returned from `std::async` blocking?
- Should I use std::function or a function pointer in C++?
- What can and can’t I specialize in the std namespace?
- How std::bind works with member functions
- How to convert std::chrono::time_point to calendar datetime string with fractional seconds?
- When is it necessary to use the flag -stdlib=libstdc++?
- How to use std::async on a member function?
- std::put_time implementation status in GCC?
- why do lambda functions in c++11 not have function types?
- C++ When is it OK to extend the `std` namespace?
- C++ Add months to chrono::system_clock::time_point
- How can I use Standard Library (STL) classes in my dll interface or ABI?
- Why would I ever use push_back instead of emplace_back?
- Is there a range class in C++11 for use with range based for loops?
- Passing rvalues through std::bind
- How do I erase elements from STL containers?
- cc1plus: error: unrecognized command line option “-std=c++11” with g++
- std::thread error (thread not member of std)
- std::remove_const with const references
- std::forward_list and std::forward_list::push_back
- stoi and std::to_string on mingw 4.7.1 [duplicate]
- Why does unique_ptr take two template parameters when shared_ptr only takes one?
- C++ std::tuple order of destruction
- Idiomatic Way to declare C++ Immutable Classes
- I want to kill a std::thread using its thread object? [duplicate]
- map with incomplete value type