This commit is contained in:
2025-10-25 03:02:53 +03:00
commit 043225d523
3416 changed files with 681196 additions and 0 deletions

18
cppdraft/diff/malloc.md Normal file
View File

@@ -0,0 +1,18 @@
[diff.malloc]
# Annex C (informative) Compatibility [[diff]](./#diff)
## C.8 C standard library [[diff.library]](diff.library#diff.malloc)
### C.8.5 Modifications to behavior [[diff.mods.to.behavior]](diff.mods.to.behavior#diff.malloc)
#### C.8.5.3 Memory allocation functions [diff.malloc]
[1](#1)
[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/compatibility.tex#L3837)
The functionsaligned_alloc,calloc,malloc,
andrealloc are restricted in C++[.](#1.sentence-1)
Subclause [[c.malloc]](c.malloc "20.2.12C library memory allocation") describes the changes[.](#1.sentence-2)