Utility library
From Cppreference
< cpp
C++ Standard Library | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Utilities library | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Contents |
[edit] Language support
[edit] Type support (basic types, RTTI, type traits)
[edit] Dynamic memory management
[edit] Error handling
[edit] Initializer lists
(C++11)
|
Allows to use initializer list syntax to initialize non Plain-old-data types (class template) |
[edit] Variadic functions
[edit] General utilities
[edit] Program utilities
[edit] Date and time
[edit] Bitset
implements constant length bit array (class) |
[edit] Function objects
[edit] Pairs and tuples
implements binary tuple, i.e. a pair of values (class template) |
|
(C++11)
|
implements fixed size container, which holds elements of possibly different types (class template) |
(C++11)
|
tag type used to select correct function overload for piecewise construction (class) |
(C++11)
|
an object of type piecewise_construct_t used to disambiguate functions for piecewise construction (constant) |
[edit] Swap, forward and move
swaps the values of two objects (function template) |
|
(C++11)
|
forwards a function argument (function template) |
(C++11)
|
obtains an rvalue reference (function template) |
(C++11)
|
obtains an rvalue reference if the move constructor does not throw (function template) |
(C++11)
|
obtains the type of expression in unevaluated context (function template) |
[edit] Relational operators
Defined in namespace std::rel_ops
| |
automatically generates comparison operators based on user-defined operator== and operator< (function template) |
[edit] Hash support
(C++11)
|
hash function object (class template) |