Files
cppdraft_translate/cppdraft/mem/general.md
2025-10-25 03:02:53 +03:00

30 lines
1.5 KiB
Markdown
Raw 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.

[mem.general]
# 20 Memory management library [[mem]](./#mem)
## 20.1 General [mem.general]
[1](#1)
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/memory.tex#L6)
This Clause describes components for memory management[.](#1.sentence-1)
[2](#2)
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/memory.tex#L9)
The following subclauses describe general memory management facilities,
smart pointers, memory resources, and scoped allocators,
as summarized in Table [50](#tab:mem.summary "Table 50: Memory management library summary")[.](#2.sentence-1)
Table [50](#tab:mem.summary) — Memory management library summary [[tab:mem.summary]](./tab:mem.summary)
| [🔗](#tab:mem.summary-row-1) | **Subclause** | **Header** |
| --- | --- | --- |
| [🔗](#tab:mem.summary-row-2)<br>[[memory]](memory "20.2Memory") | Memory | <cstdlib>, <memory> |
| [🔗](#tab:mem.summary-row-3)<br>[[smartptr]](smartptr "20.3Smart pointers") | Smart pointers | <memory> |
| [🔗](#tab:mem.summary-row-4)<br>[[mem.composite.types]](mem.composite.types "20.4Types for composite class design") | Types for composite class design | <memory> |
| [🔗](#tab:mem.summary-row-5)<br>[[mem.res]](mem.res "20.5Memory resources") | Memory resources | <memory_resource> |
| [🔗](#tab:mem.summary-row-6)<br>[[allocator.adaptor]](allocator.adaptor "20.6Class template scoped_­allocator_­adaptor") | Scoped allocators | <scoped_allocator> |