C++ Standard Library

In the C++ programming language, 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. The C++ Standard Library provides several generic containers, functions to utilize and manipulate these containers, function objects, generic strings and streams (including interactive and file I/O), support for some language features, and everyday functions for tasks such as finding the square root of a number. The C++ Standard Library also incorporates 18 headers of the ISO C90 C standard library ending with ".h", but their use is deprecated. No other headers in the C++ Standard Library end in ".h". Features of the C++ Standard Library are declared within the std namespace.

The C++ Standard Library is based upon conventions introduced by the Standard Template Library (STL). Although the C++ Standard Library and the STL share many features, neither is a strict superset of the other. In particular, the C++ Standard Library has also been influenced by the work of Alexander Stepanov and Meng Lee.

The C++ Standard Library underwent ISO standardization as part of the C++ ISO Standardization effort, and is undergoing further work regarding standardization of expanded functionality.

C++ Standard Library
  • Input/output
  • Strings
Standard Template Library
  • algorithm
  • functional
  • iterator
  • Sequence containers
  • Associative containers
  • Unordered associative containers
C standard library
  • Data types
  • Character classification
  • Strings
  • Mathematics
  • File input/output
  • Date/time
  • Localization
  • Memory allocation
  • Process control
  • Signals
  • Alternative tokens
Miscellaneous headers:

Famous quotes containing the words standard and/or library:

    “Neither I nor anyone else knows what a standard is. We all recognize a dishonorable act, but have no idea what honor is.”
    —Anton Pavlovich Chekhov (1860–1904)

    “Madam, a circulating library in a town is as an evergreen tree of diabolical knowledge; it blossoms through the year. And depend on it ... that they who are so fond of handling the leaves, will long for the fruit at last.”
    —Richard Brinsley Sheridan (1751–1816)