tmp/tmpuzrou79_/{from.md → to.md}
RENAMED
|
@@ -1,58 +1,79 @@
|
|
| 1 |
#### Memory allocation functions <a id="diff.malloc">[[diff.malloc]]</a>
|
| 2 |
|
| 3 |
-
The functions `calloc`, `malloc`, and `realloc` are
|
| 4 |
-
International Standard. [[c.malloc]]
|
|
|
|
| 5 |
|
| 6 |
<!-- Link reference definitions -->
|
| 7 |
[algorithms]: algorithms.md#algorithms
|
| 8 |
[algorithms.general]: algorithms.md#algorithms.general
|
| 9 |
[arithmetic.operations]: utilities.md#arithmetic.operations
|
| 10 |
[associative.reqmts]: containers.md#associative.reqmts
|
| 11 |
[basic]: basic.md#basic
|
| 12 |
[basic.def]: basic.md#basic.def
|
| 13 |
-
[basic.def.odr]: basic.md#basic.def.odr
|
| 14 |
[basic.link]: basic.md#basic.link
|
| 15 |
[basic.scope]: basic.md#basic.scope
|
| 16 |
-
[basic.start]: basic.md#basic.start
|
| 17 |
[basic.stc.dynamic]: basic.md#basic.stc.dynamic
|
| 18 |
[basic.stc.dynamic.deallocation]: basic.md#basic.stc.dynamic.deallocation
|
|
|
|
| 19 |
[basic.types]: basic.md#basic.types
|
| 20 |
[bitwise.operations]: utilities.md#bitwise.operations
|
| 21 |
[c.files]: input.md#c.files
|
|
|
|
| 22 |
[c.malloc]: utilities.md#c.malloc
|
| 23 |
-
[
|
| 24 |
[class]: class.md#class
|
| 25 |
[class.bit]: class.md#class.bit
|
| 26 |
[class.copy]: special.md#class.copy
|
| 27 |
[class.ctor]: special.md#class.ctor
|
| 28 |
[class.dtor]: special.md#class.dtor
|
|
|
|
| 29 |
[class.name]: class.md#class.name
|
| 30 |
[class.nest]: class.md#class.nest
|
| 31 |
[class.nested.type]: class.md#class.nested.type
|
| 32 |
[comparisons]: utilities.md#comparisons
|
| 33 |
[complex.numbers]: numerics.md#complex.numbers
|
| 34 |
[container.requirements]: containers.md#container.requirements
|
| 35 |
[containers]: containers.md#containers
|
| 36 |
[conv]: conv.md#conv
|
|
|
|
|
|
|
|
|
|
| 37 |
[conv.ptr]: conv.md#conv.ptr
|
| 38 |
[cpp]: cpp.md#cpp
|
| 39 |
[cpp.predefined]: cpp.md#cpp.predefined
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 40 |
[dcl.constexpr]: dcl.md#dcl.constexpr
|
| 41 |
[dcl.dcl]: dcl.md#dcl.dcl
|
| 42 |
[dcl.decl]: dcl.md#dcl.decl
|
| 43 |
[dcl.enum]: dcl.md#dcl.enum
|
| 44 |
[dcl.fct]: dcl.md#dcl.fct
|
| 45 |
[dcl.fct.def]: dcl.md#dcl.fct.def
|
|
|
|
| 46 |
[dcl.init.list]: dcl.md#dcl.init.list
|
| 47 |
[dcl.init.string]: dcl.md#dcl.init.string
|
| 48 |
[dcl.spec]: dcl.md#dcl.spec
|
| 49 |
[dcl.spec.auto]: dcl.md#dcl.spec.auto
|
| 50 |
[dcl.stc]: dcl.md#dcl.stc
|
| 51 |
[dcl.type]: dcl.md#dcl.type
|
| 52 |
[dcl.typedef]: dcl.md#dcl.typedef
|
|
|
|
| 53 |
[depr.c.headers]: future.md#depr.c.headers
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 54 |
[diagnostics]: diagnostics.md#diagnostics
|
| 55 |
[diff]: #diff
|
| 56 |
[diff.basic]: #diff.basic
|
| 57 |
[diff.char16]: #diff.char16
|
| 58 |
[diff.class]: #diff.class
|
|
@@ -76,16 +97,35 @@ International Standard. [[c.malloc]] describes the changes.
|
|
| 76 |
[diff.cpp03.temp]: #diff.cpp03.temp
|
| 77 |
[diff.cpp03.utilities]: #diff.cpp03.utilities
|
| 78 |
[diff.cpp11]: #diff.cpp11
|
| 79 |
[diff.cpp11.basic]: #diff.cpp11.basic
|
| 80 |
[diff.cpp11.dcl.dcl]: #diff.cpp11.dcl.dcl
|
|
|
|
|
|
|
| 81 |
[diff.cpp11.input.output]: #diff.cpp11.input.output
|
| 82 |
[diff.cpp11.lex]: #diff.cpp11.lex
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 83 |
[diff.dcl]: #diff.dcl
|
| 84 |
[diff.decl]: #diff.decl
|
| 85 |
[diff.expr]: #diff.expr
|
|
|
|
| 86 |
[diff.header.iso646.h]: #diff.header.iso646.h
|
|
|
|
|
|
|
| 87 |
[diff.iso]: #diff.iso
|
| 88 |
[diff.lex]: #diff.lex
|
| 89 |
[diff.library]: #diff.library
|
| 90 |
[diff.malloc]: #diff.malloc
|
| 91 |
[diff.mods.to.behavior]: #diff.mods.to.behavior
|
|
@@ -96,19 +136,26 @@ International Standard. [[c.malloc]] describes the changes.
|
|
| 96 |
[diff.offsetof]: #diff.offsetof
|
| 97 |
[diff.special]: #diff.special
|
| 98 |
[diff.stat]: #diff.stat
|
| 99 |
[diff.wchar.t]: #diff.wchar.t
|
| 100 |
[errno]: diagnostics.md#errno
|
|
|
|
|
|
|
| 101 |
[expr]: expr.md#expr
|
| 102 |
[expr.ass]: expr.md#expr.ass
|
| 103 |
[expr.call]: expr.md#expr.call
|
| 104 |
[expr.cast]: expr.md#expr.cast
|
| 105 |
[expr.comma]: expr.md#expr.comma
|
| 106 |
[expr.cond]: expr.md#expr.cond
|
|
|
|
|
|
|
| 107 |
[expr.mul]: expr.md#expr.mul
|
| 108 |
[expr.new]: expr.md#expr.new
|
|
|
|
|
|
|
| 109 |
[expr.sizeof]: expr.md#expr.sizeof
|
|
|
|
| 110 |
[headers]: library.md#headers
|
| 111 |
[input.output]: input.md#input.output
|
| 112 |
[ios.base]: input.md#ios.base
|
| 113 |
[ios::failure]: input.md#ios::failure
|
| 114 |
[iostate.flags]: input.md#iostate.flags
|
|
@@ -116,17 +163,18 @@ International Standard. [[c.malloc]] describes the changes.
|
|
| 116 |
[language.support]: language.md#language.support
|
| 117 |
[lex]: lex.md#lex
|
| 118 |
[lex.ccon]: lex.md#lex.ccon
|
| 119 |
[lex.icon]: lex.md#lex.icon
|
| 120 |
[lex.key]: lex.md#lex.key
|
|
|
|
| 121 |
[lex.ppnumber]: lex.md#lex.ppnumber
|
| 122 |
[lex.pptoken]: lex.md#lex.pptoken
|
| 123 |
[lex.string]: lex.md#lex.string
|
| 124 |
[library]: library.md#library
|
| 125 |
[logical.operations]: utilities.md#logical.operations
|
|
|
|
| 126 |
[namespace.posix]: library.md#namespace.posix
|
| 127 |
-
[negators]: utilities.md#negators
|
| 128 |
[new.delete.single]: language.md#new.delete.single
|
| 129 |
[numerics]: numerics.md#numerics
|
| 130 |
[ostream::sentry]: input.md#ostream::sentry
|
| 131 |
[refwrap]: utilities.md#refwrap
|
| 132 |
[res.on.macro.definitions]: library.md#res.on.macro.definitions
|
|
@@ -137,22 +185,19 @@ International Standard. [[c.malloc]] describes the changes.
|
|
| 137 |
[stmt.stmt]: stmt.md#stmt.stmt
|
| 138 |
[stmt.switch]: stmt.md#stmt.switch
|
| 139 |
[string.classes]: strings.md#string.classes
|
| 140 |
[string.require]: strings.md#string.require
|
| 141 |
[strings]: strings.md#strings
|
| 142 |
-
[support.runtime]: language.md#support.runtime
|
| 143 |
[support.start.term]: language.md#support.start.term
|
| 144 |
[support.types]: language.md#support.types
|
|
|
|
| 145 |
[swappable.requirements]: library.md#swappable.requirements
|
| 146 |
-
[tab:diff.standard.functions]: #tab:diff.standard.functions
|
| 147 |
-
[tab:diff.standard.macros]: #tab:diff.standard.macros
|
| 148 |
-
[tab:diff.standard.structs]: #tab:diff.standard.structs
|
| 149 |
-
[tab:diff.standard.types]: #tab:diff.standard.types
|
| 150 |
-
[tab:diff.standard.values]: #tab:diff.standard.values
|
| 151 |
[tab:keywords]: lex.md#tab:keywords
|
| 152 |
[temp]: temp.md#temp
|
| 153 |
[temp.arg]: temp.md#temp.arg
|
|
|
|
| 154 |
[temp.dep.candidate]: temp.md#temp.dep.candidate
|
| 155 |
[temp.param]: temp.md#temp.param
|
| 156 |
[thread]: thread.md#thread
|
| 157 |
[util.dynamic.safety]: utilities.md#util.dynamic.safety
|
|
|
|
| 158 |
[utilities]: utilities.md#utilities
|
|
|
|
| 1 |
#### Memory allocation functions <a id="diff.malloc">[[diff.malloc]]</a>
|
| 2 |
|
| 3 |
+
The functions `aligned_alloc`, `calloc`, `malloc`, and `realloc` are
|
| 4 |
+
restricted in this International Standard. Subclause [[c.malloc]]
|
| 5 |
+
describes the changes.
|
| 6 |
|
| 7 |
<!-- Link reference definitions -->
|
| 8 |
[algorithms]: algorithms.md#algorithms
|
| 9 |
[algorithms.general]: algorithms.md#algorithms.general
|
| 10 |
[arithmetic.operations]: utilities.md#arithmetic.operations
|
| 11 |
[associative.reqmts]: containers.md#associative.reqmts
|
| 12 |
[basic]: basic.md#basic
|
| 13 |
[basic.def]: basic.md#basic.def
|
|
|
|
| 14 |
[basic.link]: basic.md#basic.link
|
| 15 |
[basic.scope]: basic.md#basic.scope
|
| 16 |
+
[basic.start.main]: basic.md#basic.start.main
|
| 17 |
[basic.stc.dynamic]: basic.md#basic.stc.dynamic
|
| 18 |
[basic.stc.dynamic.deallocation]: basic.md#basic.stc.dynamic.deallocation
|
| 19 |
+
[basic.string]: strings.md#basic.string
|
| 20 |
[basic.types]: basic.md#basic.types
|
| 21 |
[bitwise.operations]: utilities.md#bitwise.operations
|
| 22 |
[c.files]: input.md#c.files
|
| 23 |
+
[c.locales]: localization.md#c.locales
|
| 24 |
[c.malloc]: utilities.md#c.malloc
|
| 25 |
+
[cassert.syn]: diagnostics.md#cassert.syn
|
| 26 |
[class]: class.md#class
|
| 27 |
[class.bit]: class.md#class.bit
|
| 28 |
[class.copy]: special.md#class.copy
|
| 29 |
[class.ctor]: special.md#class.ctor
|
| 30 |
[class.dtor]: special.md#class.dtor
|
| 31 |
+
[class.inhctor.init]: special.md#class.inhctor.init
|
| 32 |
[class.name]: class.md#class.name
|
| 33 |
[class.nest]: class.md#class.nest
|
| 34 |
[class.nested.type]: class.md#class.nested.type
|
| 35 |
[comparisons]: utilities.md#comparisons
|
| 36 |
[complex.numbers]: numerics.md#complex.numbers
|
| 37 |
[container.requirements]: containers.md#container.requirements
|
| 38 |
[containers]: containers.md#containers
|
| 39 |
[conv]: conv.md#conv
|
| 40 |
+
[conv.array]: conv.md#conv.array
|
| 41 |
+
[conv.func]: conv.md#conv.func
|
| 42 |
+
[conv.lval]: conv.md#conv.lval
|
| 43 |
[conv.ptr]: conv.md#conv.ptr
|
| 44 |
[cpp]: cpp.md#cpp
|
| 45 |
[cpp.predefined]: cpp.md#cpp.predefined
|
| 46 |
+
[csetjmp.syn]: language.md#csetjmp.syn
|
| 47 |
+
[cstddef.syn]: language.md#cstddef.syn
|
| 48 |
+
[cstdio.syn]: input.md#cstdio.syn
|
| 49 |
+
[cstdlib.syn]: language.md#cstdlib.syn
|
| 50 |
+
[cstring.syn]: strings.md#cstring.syn
|
| 51 |
+
[ctime.syn]: utilities.md#ctime.syn
|
| 52 |
+
[cuchar.syn]: strings.md#cuchar.syn
|
| 53 |
+
[cwchar.syn]: strings.md#cwchar.syn
|
| 54 |
[dcl.constexpr]: dcl.md#dcl.constexpr
|
| 55 |
[dcl.dcl]: dcl.md#dcl.dcl
|
| 56 |
[dcl.decl]: dcl.md#dcl.decl
|
| 57 |
[dcl.enum]: dcl.md#dcl.enum
|
| 58 |
[dcl.fct]: dcl.md#dcl.fct
|
| 59 |
[dcl.fct.def]: dcl.md#dcl.fct.def
|
| 60 |
+
[dcl.init.aggr]: dcl.md#dcl.init.aggr
|
| 61 |
[dcl.init.list]: dcl.md#dcl.init.list
|
| 62 |
[dcl.init.string]: dcl.md#dcl.init.string
|
| 63 |
[dcl.spec]: dcl.md#dcl.spec
|
| 64 |
[dcl.spec.auto]: dcl.md#dcl.spec.auto
|
| 65 |
[dcl.stc]: dcl.md#dcl.stc
|
| 66 |
[dcl.type]: dcl.md#dcl.type
|
| 67 |
[dcl.typedef]: dcl.md#dcl.typedef
|
| 68 |
+
[depr]: future.md#depr
|
| 69 |
[depr.c.headers]: future.md#depr.c.headers
|
| 70 |
+
[depr.ccomplex.syn]: future.md#depr.ccomplex.syn
|
| 71 |
+
[depr.cstdalign.syn]: future.md#depr.cstdalign.syn
|
| 72 |
+
[depr.cstdbool.syn]: future.md#depr.cstdbool.syn
|
| 73 |
+
[depr.ctgmath.syn]: future.md#depr.ctgmath.syn
|
| 74 |
+
[depr.negators]: future.md#depr.negators
|
| 75 |
[diagnostics]: diagnostics.md#diagnostics
|
| 76 |
[diff]: #diff
|
| 77 |
[diff.basic]: #diff.basic
|
| 78 |
[diff.char16]: #diff.char16
|
| 79 |
[diff.class]: #diff.class
|
|
|
|
| 97 |
[diff.cpp03.temp]: #diff.cpp03.temp
|
| 98 |
[diff.cpp03.utilities]: #diff.cpp03.utilities
|
| 99 |
[diff.cpp11]: #diff.cpp11
|
| 100 |
[diff.cpp11.basic]: #diff.cpp11.basic
|
| 101 |
[diff.cpp11.dcl.dcl]: #diff.cpp11.dcl.dcl
|
| 102 |
+
[diff.cpp11.dcl.decl]: #diff.cpp11.dcl.decl
|
| 103 |
+
[diff.cpp11.expr]: #diff.cpp11.expr
|
| 104 |
[diff.cpp11.input.output]: #diff.cpp11.input.output
|
| 105 |
[diff.cpp11.lex]: #diff.cpp11.lex
|
| 106 |
+
[diff.cpp11.library]: #diff.cpp11.library
|
| 107 |
+
[diff.cpp14]: #diff.cpp14
|
| 108 |
+
[diff.cpp14.containers]: #diff.cpp14.containers
|
| 109 |
+
[diff.cpp14.dcl.dcl]: #diff.cpp14.dcl.dcl
|
| 110 |
+
[diff.cpp14.decl]: #diff.cpp14.decl
|
| 111 |
+
[diff.cpp14.depr]: #diff.cpp14.depr
|
| 112 |
+
[diff.cpp14.except]: #diff.cpp14.except
|
| 113 |
+
[diff.cpp14.expr]: #diff.cpp14.expr
|
| 114 |
+
[diff.cpp14.lex]: #diff.cpp14.lex
|
| 115 |
+
[diff.cpp14.library]: #diff.cpp14.library
|
| 116 |
+
[diff.cpp14.special]: #diff.cpp14.special
|
| 117 |
+
[diff.cpp14.string]: #diff.cpp14.string
|
| 118 |
+
[diff.cpp14.temp]: #diff.cpp14.temp
|
| 119 |
+
[diff.cpp14.utilities]: #diff.cpp14.utilities
|
| 120 |
[diff.dcl]: #diff.dcl
|
| 121 |
[diff.decl]: #diff.decl
|
| 122 |
[diff.expr]: #diff.expr
|
| 123 |
+
[diff.header.assert.h]: #diff.header.assert.h
|
| 124 |
[diff.header.iso646.h]: #diff.header.iso646.h
|
| 125 |
+
[diff.header.stdalign.h]: #diff.header.stdalign.h
|
| 126 |
+
[diff.header.stdbool.h]: #diff.header.stdbool.h
|
| 127 |
[diff.iso]: #diff.iso
|
| 128 |
[diff.lex]: #diff.lex
|
| 129 |
[diff.library]: #diff.library
|
| 130 |
[diff.malloc]: #diff.malloc
|
| 131 |
[diff.mods.to.behavior]: #diff.mods.to.behavior
|
|
|
|
| 136 |
[diff.offsetof]: #diff.offsetof
|
| 137 |
[diff.special]: #diff.special
|
| 138 |
[diff.stat]: #diff.stat
|
| 139 |
[diff.wchar.t]: #diff.wchar.t
|
| 140 |
[errno]: diagnostics.md#errno
|
| 141 |
+
[except]: except.md#except
|
| 142 |
+
[except.spec]: except.md#except.spec
|
| 143 |
[expr]: expr.md#expr
|
| 144 |
[expr.ass]: expr.md#expr.ass
|
| 145 |
[expr.call]: expr.md#expr.call
|
| 146 |
[expr.cast]: expr.md#expr.cast
|
| 147 |
[expr.comma]: expr.md#expr.comma
|
| 148 |
[expr.cond]: expr.md#expr.cond
|
| 149 |
+
[expr.delete]: expr.md#expr.delete
|
| 150 |
+
[expr.log.and]: expr.md#expr.log.and
|
| 151 |
[expr.mul]: expr.md#expr.mul
|
| 152 |
[expr.new]: expr.md#expr.new
|
| 153 |
+
[expr.post.incr]: expr.md#expr.post.incr
|
| 154 |
+
[expr.pre.incr]: expr.md#expr.pre.incr
|
| 155 |
[expr.sizeof]: expr.md#expr.sizeof
|
| 156 |
+
[func.wrap]: utilities.md#func.wrap
|
| 157 |
[headers]: library.md#headers
|
| 158 |
[input.output]: input.md#input.output
|
| 159 |
[ios.base]: input.md#ios.base
|
| 160 |
[ios::failure]: input.md#ios::failure
|
| 161 |
[iostate.flags]: input.md#iostate.flags
|
|
|
|
| 163 |
[language.support]: language.md#language.support
|
| 164 |
[lex]: lex.md#lex
|
| 165 |
[lex.ccon]: lex.md#lex.ccon
|
| 166 |
[lex.icon]: lex.md#lex.icon
|
| 167 |
[lex.key]: lex.md#lex.key
|
| 168 |
+
[lex.phases]: lex.md#lex.phases
|
| 169 |
[lex.ppnumber]: lex.md#lex.ppnumber
|
| 170 |
[lex.pptoken]: lex.md#lex.pptoken
|
| 171 |
[lex.string]: lex.md#lex.string
|
| 172 |
[library]: library.md#library
|
| 173 |
[logical.operations]: utilities.md#logical.operations
|
| 174 |
+
[namespace.future]: library.md#namespace.future
|
| 175 |
[namespace.posix]: library.md#namespace.posix
|
|
|
|
| 176 |
[new.delete.single]: language.md#new.delete.single
|
| 177 |
[numerics]: numerics.md#numerics
|
| 178 |
[ostream::sentry]: input.md#ostream::sentry
|
| 179 |
[refwrap]: utilities.md#refwrap
|
| 180 |
[res.on.macro.definitions]: library.md#res.on.macro.definitions
|
|
|
|
| 185 |
[stmt.stmt]: stmt.md#stmt.stmt
|
| 186 |
[stmt.switch]: stmt.md#stmt.switch
|
| 187 |
[string.classes]: strings.md#string.classes
|
| 188 |
[string.require]: strings.md#string.require
|
| 189 |
[strings]: strings.md#strings
|
|
|
|
| 190 |
[support.start.term]: language.md#support.start.term
|
| 191 |
[support.types]: language.md#support.types
|
| 192 |
+
[support.types.layout]: language.md#support.types.layout
|
| 193 |
[swappable.requirements]: library.md#swappable.requirements
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 194 |
[tab:keywords]: lex.md#tab:keywords
|
| 195 |
[temp]: temp.md#temp
|
| 196 |
[temp.arg]: temp.md#temp.arg
|
| 197 |
+
[temp.deduct.type]: temp.md#temp.deduct.type
|
| 198 |
[temp.dep.candidate]: temp.md#temp.dep.candidate
|
| 199 |
[temp.param]: temp.md#temp.param
|
| 200 |
[thread]: thread.md#thread
|
| 201 |
[util.dynamic.safety]: utilities.md#util.dynamic.safety
|
| 202 |
+
[util.smartptr.shared]: utilities.md#util.smartptr.shared
|
| 203 |
[utilities]: utilities.md#utilities
|