A functor is a class that performs its duty by calling its operator().
Functor examples
- std::equal_to
- std::greater
- std::greater_equal
- std::less
- std::less_equal
- std::logical_and
- std::logical_not
- std::logical_or
- std::not_equal_to
STL arithmic operations