Technical Discussion :: C++
Home > Technical Interview Q&A > C++ > Discussion
136 / 187
What are member function adapter & pointer to function adapter?
Answer:
A member function adapter allows a member function to be used as an argument to algorithms.
A pointer to function adapter allows a pointer to function to be used as an argument to the algorithm.
Asked In ::
Amit Singh
23 Feb, 2019 5:07 AM
A member function adapter allows a member function to be used as an argument to algorithms.
A pointer to function adapter allows a pointer to function to be used as an argument to the algorithm.
A pointer to function adapter allows a pointer to function to be used as an argument to the algorithm.