Chapter 18. Algorithms and Function Objects
Form is liberating. | ||
--engineers’ proverb |
Introduction — overview of standard algorithms — sequences — function objects — predicates — arithmetic objects — binders — member function objects — for_each — finding elements — count — comparing sequences — searching — copying — transform — replacing and removing elements — filling a sequence — reordering — swap — sorted sequences — binary_search — merge — set operations — min and max — heaps — permutations — C-style algorithms — advice — exercises.
Introduction
A container by itself is really not that interesting. To be genuinely useful, a container must be supported by basic operations such as finding its size, iterating, copying, sorting, and searching for ...
Get The C++ Programming Language, Special Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.