Login
From:
hacking C++
(Uncensored)
subscribe
C++ Function Objects Introduction | hacking C++
https://hackingcpp.com/cpp/design/function_objects.html
links
backlinks
Roast topics
Find topics
Find it!
Function objects can be 'called' like a function, if their type provides at least one member function overload of operator(). They can be used to inject custom behavior, e.g. into standard library algorithms.