| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
…class/struc which overloads function call operator '()'. In C++, a function pointer is not a "functor" in the common C++ sense, but both are types of callable objects. A functor (function object) is specifically a class or struct that overloads the function call operator()
| Back | FazBrowse Home | New Git URL |
name functor is removed for function pointer, as it is defined for a class/struct which overloads function call operator '(…c)'.
In C++, a function pointer is not a "functor" in the common C++ sense, but both are types of callable objects. A functor (function object) is specifically a class or struct that overloads the function call operator()