Summary
Team LiB
Previous Section Next Section

Summary

Objects plug in better than functions: Prefer passing function objects, not functions, to algorithms. Comparers for associative containers must be function objects. Function objects are adaptable and, counterintuitively, they typically produce faster code than functions.

    Team LiB
    Previous Section Next Section