This Clause describes utilities that are generally useful in C++ programs; some of these utilities are used by other elements of the C++ standard library. These utilities are summarized in Table [tab:util.lib.summary].
Subclause | Header(s) | |
[utility] | Utility components | <utility> |
[pairs] | Pairs | <utility> |
[tuple] | Tuples | <tuple> |
[template.bitset] | Fixed-size sequences of bits | <bitset> |
<memory> | ||
[memory] | Memory | <cstdlib> |
<cstring> | ||
[smartptr] | Smart pointers | <memory> |
[function.objects] | Function objects | <functional> |
[meta] | Type traits | <type_traits> |
[ratio] | Compile-time rational arithmetic | <ratio> |
[time] | Time utilities | <chrono> |
<ctime> | ||
[allocator.adaptor] | Scoped allocators | <scoped_allocator> |
[type.index] | Type indexes | <typeindex> |