, the Standard Library
is a collection of classes
, which are written in the core language
. The Standard Library provides several generic containers, functions to utilise and manipulate these containers, function objects, generic strings and streams (including interactive and file I/O), support for some language features, and every day functions for tasks such as finding the square root
of a number. The C++ Standard Library also incorporates the ISO C90 C Standard Library
. Features of the Standard Library are declared within the std namespace
The Standard Template Library (STL) is a subset of the C++ standard library, and contains the containers, algorithms, iterators, function objects, etc.; although some people use the term STL interchangeably with the C++ standard library.
Header files in the C++ standard library do not end in ".h".
The following files contain the declarations of the Standard Library.
Containers:Provides the specialized container class
std::bitset, a bit array.:Provides the container class template
std::deque, a double-ended queue.
:Provides the container class template
std::list, a doubly-linked list.