![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Templates and The Standard Library - slide 35 : 39 |
A function object (function-like object or functor) is a an object with an application operator, operator()
![]() | Class Point with overloadings of the application operator. |
![]() | Definition of Point application operators. |
![]() | Sample uses of the application operators - Funny and artificial. |
![]() | Definition of then Point application operator. |
![]() | Sample uses of the application operators - slightly more realistic. |