Templates

Function Templates

Class Templates

STL : Standard Template Library

Components

Container Classes

Algorithms

Algoritms can be used generically across a variety of containers.

Examples

  1. fill, fill_n, generate, generate_n
  2. replace, replace_if, replace_copy, replace_copy_if
  3. equal, mismatch, lexicographical_compare
  4. remove, remove_if, remove_copy, remove_copy_if
  5. Mathematical Algorithms : random_shuffle, count, count_if, min_element, max_element, accumulate, for_each, transform
  6. Basic Searching and Sorting Algorithms : find, find_if, sort, binary_search
  7. copy_backward, merge, unique, reverse
  8. inplace_merge, unique_copy, reverse_copy
  9. Set operations : includes, set_union, set_intersection, set_difference, set_symmetric_difference
  10. lower_bound, upper_bound, equal_range

Function Object

Function Object Example

References

Other Links