GNU GCC Library

C++ Standard Library Documentation

the C++ Standard Library is a collection of classes and functions, which are written in the core language and part of the C++ ISO Standard itself. A unique feature of the C++ standard library is it not only specifies the syntax and semantics of generic algorithms, but also places requirements on their performance.


GNU C++ Library aka libstdc++ is a free software implementation of the ISO C++ standard and is part of the GCC source code made available under the terms of the GPLv3 license.

C++ Library Components

Take a look at the C++ library components.

C++ std:: Namespace

The toplevel namespace is std.

std contains the following namespaces in addition to many classes.

Take a look at the complete list of all C++ namespaces.

C++ Classes

Some commonly access C++ classes are

Data Structure





Take a look at the complete list of class in the std namespace

We'd suggest that in the interest of time, please use the search box on the top right.

Take a look at the comprehensive list of classes.

C++ Class Hierarchy

Take a look at the textual C++ class hierarchy

Take a look at the visual UML based representation of the C++ class hierarchy

C++ STL Requirements Table

As part of the ISO standardization of the C++ library, the requirements on containers are presented in a tabular format.

As you will note, this helps see the container design in its most generic form.


image credit: Free Software Foundation, GNU GCC project.