March 2020
Intermediate to advanced
406 pages
8h 39m
English
Function objects, also known as functors, are used for generating, testing, and operating on data. If you declare an object as a functor, you can use that object as one would use a function call. Oftentimes, the algorithms in the STL need a parameter to perform their designated tasks. Functors tend to be a useful way to assist in performing those tasks. In this section, we will learn about the following:
Read now
Unlock full access