August 2005
Intermediate to advanced
432 pages
9h 41m
English
• Adapts functions and function objects for use with Standard Library algorithms
• Binds arguments to function calls
• Transforms arbitrary expressions into function objects compatible with the Standard Library algorithms
• Defines unnamed functions at the call site, thereby improving readability and maintainability of the code
• Implements predicates when and where needed
When using the Standard Library, or any library employing a similar design that relies on algorithmic configuration by the means of functions and function objects, one often ends up writing lots of small function objects that perform quite trivial operations. As we saw in “Library 9: Bind 9,” this can quickly ...
Read now
Unlock full access