<<< C++ Standard Library | Index | std::vector >>> |
Major STL components are
Containers are objects such as vector, list, map
Iterators are objects behaving like pointers that define ranges inside containers
Algorithms are fundamental data manipulation tasks: sort, count, copy, reverse, etc.
Containers and iterators are C++ objects
Algorithms are C++ functions
STL facilities work correctly with any data type, because they are template -based.
An animation of STL components helps to visualize how STL components interact at runtime.
<<< C++ Standard Library | Index | std::vector >>> |