C + + Primer (Fifth edition) learning Note _1_ Standard Template Library-Quick Start
Welcome to read the reference, if there are errors or questions, please leave a message to correct, thank you
The Standard Template Library (STL) provides three types of components: containers, iterators, and algorithms, all of which support generic program design standards.
There are two main types of containers: sequential containers and associative containers. sequential containers (vectors, lists, deque, and string, etc.) are an ordered set of elements. The associated containers (set, Multiset, map, and Multimap) contain the key values of the lookup element.
The function of an iterator is to traverse the container.
STL algorithm library contains four kinds of algorithms: sorting algorithm, non-variable order algorithm, variable order algorithm and numerical algorithm.
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
C + + Primer (Fifth edition) learning Note _1_ Standard Template Library-Quick Start