Files
2025-10-25 03:02:53 +03:00

30 lines
1.9 KiB
Markdown
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[utilities.general]
# 22 General utilities library [[utilities]](./#utilities)
## 22.1 General [utilities.general]
[1](#1)
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/utilities.tex#L7)
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[.](#1.sentence-1)
These utilities are summarized in Table [66](#tab:utilities.summary "Table 66: General utilities library summary")[.](#1.sentence-2)
Table [66](#tab:utilities.summary) — General utilities library summary [[tab:utilities.summary]](./tab:utilities.summary)
| [🔗](#tab:utilities.summary-row-1) | **Subclause** | **Header** |
| --- | --- | --- |
| [🔗](#tab:utilities.summary-row-2)<br>[[utility]](utility "22.2Utility components") | Utility components | <utility> |
| [🔗](#tab:utilities.summary-row-3)<br>[[pairs]](pairs "22.3Pairs") | Pairs | |
| [🔗](#tab:utilities.summary-row-4)<br>[[tuple]](tuple "22.4Tuples") | Tuples | <tuple> |
| [🔗](#tab:utilities.summary-row-5)<br>[[optional]](optional "22.5Optional objects") | Optional objects | <optional> |
| [🔗](#tab:utilities.summary-row-6)<br>[[variant]](variant "22.6Variants") | Variants | <variant> |
| [🔗](#tab:utilities.summary-row-7)<br>[[any]](any "22.7Storage for any type") | Storage for any type | <any> |
| [🔗](#tab:utilities.summary-row-8)<br>[[expected]](expected "22.8Expected objects") | Expected objects | <expected> |
| [🔗](#tab:utilities.summary-row-9)<br>[[bitset]](bitset "22.9Bitsets") | Fixed-size sequences of bits | <bitset> |
| [🔗](#tab:utilities.summary-row-10)<br>[[function.objects]](function.objects "22.10Function objects") | Function objects | <functional> |
| [🔗](#tab:utilities.summary-row-11)<br>[[bit]](bit "22.11Bit manipulation") | Bit manipulation | <bit> |