- tmp/tmpt1rqdqec/{from.md → to.md} +63 -157
tmp/tmpt1rqdqec/{from.md → to.md}
RENAMED
|
@@ -9,250 +9,196 @@ from the C standard library.
|
|
| 9 |
|
| 10 |
For compatibility with the C standard library, the C++ standard library
|
| 11 |
provides the C headers enumerated in [[depr.c.headers]], but their use
|
| 12 |
is deprecated in C++.
|
| 13 |
|
| 14 |
-
There are no C++headers for the C
|
| 15 |
-
`<stdnoreturn.h>`, and `<threads.h>`, nor are
|
| 16 |
-
part of C++.
|
| 17 |
|
| 18 |
-
The C
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
the C standard library and instead merely include other headers from the
|
| 22 |
-
C++standard library.
|
| 23 |
-
|
| 24 |
-
The headers `<ciso646>`, `<cstdalign>` ([[depr.cstdalign.syn]]), and
|
| 25 |
-
`<cstdbool>` ([[depr.cstdbool.syn]]) are meaningless in C++. Use of the
|
| 26 |
-
C++headers `<ccomplex>`, `<cstdalign>`, `<cstdbool>`, and `<ctgmath>` is
|
| 27 |
-
deprecated ([[depr.c.headers]]).
|
| 28 |
|
| 29 |
### Modifications to definitions <a id="diff.mods.to.definitions">[[diff.mods.to.definitions]]</a>
|
| 30 |
|
| 31 |
#### Types `char16_t` and `char32_t` <a id="diff.char16">[[diff.char16]]</a>
|
| 32 |
|
| 33 |
The types `char16_t` and `char32_t` are distinct types rather than
|
| 34 |
typedefs to existing integral types. The tokens `char16_t` and
|
| 35 |
-
`char32_t` are keywords in this International Standard
|
| 36 |
-
|
| 37 |
-
[[cuchar.syn]]).
|
| 38 |
|
| 39 |
#### Type `wchar_t` <a id="diff.wchar.t">[[diff.wchar.t]]</a>
|
| 40 |
|
| 41 |
The type `wchar_t` is a distinct type rather than a typedef to an
|
| 42 |
existing integral type. The token `wchar_t` is a keyword in this
|
| 43 |
-
International Standard
|
| 44 |
-
defined in any of `<cstddef>`
|
| 45 |
-
[[cstdlib.syn]]), or `<cwchar>` ([[cwchar.syn]]).
|
| 46 |
|
| 47 |
#### Header `<assert.h>` <a id="diff.header.assert.h">[[diff.header.assert.h]]</a>
|
| 48 |
|
| 49 |
-
The token `static_assert` is a keyword in this International Standard
|
| 50 |
-
[[lex.key]]
|
| 51 |
-
`<cassert>` ([[cassert.syn]]).
|
| 52 |
|
| 53 |
#### Header `<iso646.h>` <a id="diff.header.iso646.h">[[diff.header.iso646.h]]</a>
|
| 54 |
|
| 55 |
-
The tokens `and`, `and_eq`, `bitand`, `bitor`, `compl`, `
|
| 56 |
`or`, `or_eq`, `xor`, and `xor_eq` are keywords in this International
|
| 57 |
-
Standard
|
| 58 |
-
`<ciso646>`.
|
| 59 |
|
| 60 |
#### Header `<stdalign.h>` <a id="diff.header.stdalign.h">[[diff.header.stdalign.h]]</a>
|
| 61 |
|
| 62 |
-
The token `alignas` is a keyword in this International Standard
|
| 63 |
-
[[lex.key]]
|
| 64 |
-
`<cstdalign>` ([[depr.cstdalign.syn]]).
|
| 65 |
|
| 66 |
#### Header `<stdbool.h>` <a id="diff.header.stdbool.h">[[diff.header.stdbool.h]]</a>
|
| 67 |
|
| 68 |
The tokens `bool`, `true`, and `false` are keywords in this
|
| 69 |
-
International Standard
|
| 70 |
-
|
| 71 |
|
| 72 |
#### Macro `NULL` <a id="diff.null">[[diff.null]]</a>
|
| 73 |
|
| 74 |
-
The macro `NULL`, defined in any of `<clocale>`
|
| 75 |
-
`<
|
| 76 |
-
`<cstdlib>` ([[cstdlib.syn]]), `<cstring>` ([[cstring.syn]]),
|
| 77 |
-
`<ctime>` ([[ctime.syn]]), or `<cwchar>` ([[cwchar.syn]]), is an
|
| 78 |
*implementation-defined* C++ null pointer constant in this International
|
| 79 |
-
Standard
|
| 80 |
|
| 81 |
### Modifications to declarations <a id="diff.mods.to.declarations">[[diff.mods.to.declarations]]</a>
|
| 82 |
|
| 83 |
-
Header `<cstring>`
|
| 84 |
-
different declarations:
|
| 85 |
|
| 86 |
- `strchr`
|
| 87 |
- `strpbrk`
|
| 88 |
- `strrchr`
|
| 89 |
- `strstr`
|
| 90 |
- `memchr`
|
| 91 |
|
| 92 |
Subclause [[cstring.syn]] describes the changes.
|
| 93 |
|
| 94 |
-
Header `<cwchar>`
|
| 95 |
-
different declarations:
|
| 96 |
|
| 97 |
- `wcschr`
|
| 98 |
- `wcspbrk`
|
| 99 |
- `wcsrchr`
|
| 100 |
- `wcsstr`
|
| 101 |
- `wmemchr`
|
| 102 |
|
| 103 |
Subclause [[cwchar.syn]] describes the changes.
|
| 104 |
|
| 105 |
-
Header `<cstddef>`
|
| 106 |
-
|
| 107 |
-
library.
|
| 108 |
|
| 109 |
### Modifications to behavior <a id="diff.mods.to.behavior">[[diff.mods.to.behavior]]</a>
|
| 110 |
|
| 111 |
-
Header `<cstdlib>`
|
| 112 |
-
different behavior:
|
| 113 |
|
| 114 |
- `atexit`
|
| 115 |
- `exit`
|
| 116 |
- `abort`
|
| 117 |
|
| 118 |
Subclause [[support.start.term]] describes the changes.
|
| 119 |
|
| 120 |
-
Header `<csetjmp>`
|
| 121 |
-
different behavior:
|
| 122 |
|
| 123 |
- `longjmp`
|
| 124 |
|
| 125 |
Subclause [[csetjmp.syn]] describes the changes.
|
| 126 |
|
| 127 |
#### Macro `offsetof(type, member-designator)` <a id="diff.offsetof">[[diff.offsetof]]</a>
|
| 128 |
|
| 129 |
-
The macro `offsetof`, defined in `<cstddef>`
|
| 130 |
-
|
| 131 |
-
|
| 132 |
|
| 133 |
#### Memory allocation functions <a id="diff.malloc">[[diff.malloc]]</a>
|
| 134 |
|
| 135 |
The functions `aligned_alloc`, `calloc`, `malloc`, and `realloc` are
|
| 136 |
restricted in this International Standard. Subclause [[c.malloc]]
|
| 137 |
describes the changes.
|
| 138 |
|
| 139 |
<!-- Link reference definitions -->
|
| 140 |
[algorithms]: algorithms.md#algorithms
|
| 141 |
-
[algorithms.general]: algorithms.md#algorithms.general
|
| 142 |
-
[arithmetic.operations]: utilities.md#arithmetic.operations
|
| 143 |
-
[associative.reqmts]: containers.md#associative.reqmts
|
| 144 |
[basic]: basic.md#basic
|
| 145 |
-
[basic.def]: basic.md#basic.def
|
| 146 |
[basic.link]: basic.md#basic.link
|
| 147 |
[basic.scope]: basic.md#basic.scope
|
| 148 |
-
[basic.start.main]: basic.md#basic.start.main
|
| 149 |
[basic.stc.dynamic]: basic.md#basic.stc.dynamic
|
| 150 |
-
[basic.stc.dynamic.deallocation]: basic.md#basic.stc.dynamic.deallocation
|
| 151 |
-
[basic.string]: strings.md#basic.string
|
| 152 |
-
[basic.types]: basic.md#basic.types
|
| 153 |
-
[bitwise.operations]: utilities.md#bitwise.operations
|
| 154 |
-
[c.files]: input.md#c.files
|
| 155 |
-
[c.locales]: localization.md#c.locales
|
| 156 |
[c.malloc]: utilities.md#c.malloc
|
| 157 |
-
[cassert.syn]: diagnostics.md#cassert.syn
|
| 158 |
[class]: class.md#class
|
| 159 |
-
[class.bit]: class.md#class.bit
|
| 160 |
-
[class.copy]: special.md#class.copy
|
| 161 |
-
[class.ctor]: special.md#class.ctor
|
| 162 |
-
[class.dtor]: special.md#class.dtor
|
| 163 |
-
[class.inhctor.init]: special.md#class.inhctor.init
|
| 164 |
-
[class.name]: class.md#class.name
|
| 165 |
-
[class.nest]: class.md#class.nest
|
| 166 |
-
[class.nested.type]: class.md#class.nested.type
|
| 167 |
-
[comparisons]: utilities.md#comparisons
|
| 168 |
-
[complex.numbers]: numerics.md#complex.numbers
|
| 169 |
-
[container.requirements]: containers.md#container.requirements
|
| 170 |
[containers]: containers.md#containers
|
| 171 |
-
[conv]:
|
| 172 |
-
[conv.
|
| 173 |
-
[conv.
|
| 174 |
-
[conv.lval]: conv.md#conv.lval
|
| 175 |
-
[conv.ptr]: conv.md#conv.ptr
|
| 176 |
[cpp]: cpp.md#cpp
|
| 177 |
-
[
|
| 178 |
-
[csetjmp.syn]: language.md#csetjmp.syn
|
| 179 |
-
[cstddef.syn]: language.md#cstddef.syn
|
| 180 |
-
[cstdio.syn]: input.md#cstdio.syn
|
| 181 |
-
[cstdlib.syn]: language.md#cstdlib.syn
|
| 182 |
[cstring.syn]: strings.md#cstring.syn
|
| 183 |
-
[ctime.syn]: utilities.md#ctime.syn
|
| 184 |
-
[cuchar.syn]: strings.md#cuchar.syn
|
| 185 |
[cwchar.syn]: strings.md#cwchar.syn
|
| 186 |
[dcl.constexpr]: dcl.md#dcl.constexpr
|
|
|
|
| 187 |
[dcl.dcl]: dcl.md#dcl.dcl
|
| 188 |
-
[dcl.
|
| 189 |
-
[dcl.enum]: dcl.md#dcl.enum
|
| 190 |
-
[dcl.fct]: dcl.md#dcl.fct
|
| 191 |
-
[dcl.fct.def]: dcl.md#dcl.fct.def
|
| 192 |
-
[dcl.init.aggr]: dcl.md#dcl.init.aggr
|
| 193 |
-
[dcl.init.list]: dcl.md#dcl.init.list
|
| 194 |
-
[dcl.init.string]: dcl.md#dcl.init.string
|
| 195 |
-
[dcl.spec]: dcl.md#dcl.spec
|
| 196 |
-
[dcl.spec.auto]: dcl.md#dcl.spec.auto
|
| 197 |
-
[dcl.stc]: dcl.md#dcl.stc
|
| 198 |
[dcl.type]: dcl.md#dcl.type
|
| 199 |
[dcl.typedef]: dcl.md#dcl.typedef
|
| 200 |
[depr]: future.md#depr
|
| 201 |
[depr.c.headers]: future.md#depr.c.headers
|
| 202 |
-
[depr.ccomplex.syn]: future.md#depr.ccomplex.syn
|
| 203 |
-
[depr.cstdalign.syn]: future.md#depr.cstdalign.syn
|
| 204 |
-
[depr.cstdbool.syn]: future.md#depr.cstdbool.syn
|
| 205 |
-
[depr.ctgmath.syn]: future.md#depr.ctgmath.syn
|
| 206 |
-
[depr.negators]: future.md#depr.negators
|
| 207 |
[diagnostics]: diagnostics.md#diagnostics
|
| 208 |
[diff]: #diff
|
| 209 |
[diff.basic]: #diff.basic
|
| 210 |
[diff.char16]: #diff.char16
|
| 211 |
[diff.class]: #diff.class
|
| 212 |
-
[diff.conv]: #diff.conv
|
| 213 |
[diff.cpp]: #diff.cpp
|
| 214 |
[diff.cpp03]: #diff.cpp03
|
| 215 |
[diff.cpp03.algorithms]: #diff.cpp03.algorithms
|
|
|
|
| 216 |
[diff.cpp03.containers]: #diff.cpp03.containers
|
| 217 |
-
[diff.cpp03.conv]: #diff.cpp03.conv
|
| 218 |
[diff.cpp03.dcl.dcl]: #diff.cpp03.dcl.dcl
|
| 219 |
-
[diff.cpp03.dcl.decl]: #diff.cpp03.dcl.decl
|
| 220 |
[diff.cpp03.diagnostics]: #diff.cpp03.diagnostics
|
| 221 |
[diff.cpp03.expr]: #diff.cpp03.expr
|
| 222 |
[diff.cpp03.input.output]: #diff.cpp03.input.output
|
| 223 |
[diff.cpp03.language.support]: #diff.cpp03.language.support
|
| 224 |
[diff.cpp03.lex]: #diff.cpp03.lex
|
| 225 |
[diff.cpp03.library]: #diff.cpp03.library
|
| 226 |
[diff.cpp03.numerics]: #diff.cpp03.numerics
|
| 227 |
-
[diff.cpp03.special]: #diff.cpp03.special
|
| 228 |
[diff.cpp03.strings]: #diff.cpp03.strings
|
| 229 |
[diff.cpp03.temp]: #diff.cpp03.temp
|
| 230 |
[diff.cpp03.utilities]: #diff.cpp03.utilities
|
| 231 |
[diff.cpp11]: #diff.cpp11
|
| 232 |
[diff.cpp11.basic]: #diff.cpp11.basic
|
| 233 |
[diff.cpp11.dcl.dcl]: #diff.cpp11.dcl.dcl
|
| 234 |
-
[diff.cpp11.dcl.decl]: #diff.cpp11.dcl.decl
|
| 235 |
[diff.cpp11.expr]: #diff.cpp11.expr
|
| 236 |
[diff.cpp11.input.output]: #diff.cpp11.input.output
|
| 237 |
[diff.cpp11.lex]: #diff.cpp11.lex
|
| 238 |
[diff.cpp11.library]: #diff.cpp11.library
|
| 239 |
[diff.cpp14]: #diff.cpp14
|
|
|
|
| 240 |
[diff.cpp14.containers]: #diff.cpp14.containers
|
| 241 |
[diff.cpp14.dcl.dcl]: #diff.cpp14.dcl.dcl
|
| 242 |
-
[diff.cpp14.decl]: #diff.cpp14.decl
|
| 243 |
[diff.cpp14.depr]: #diff.cpp14.depr
|
| 244 |
[diff.cpp14.except]: #diff.cpp14.except
|
| 245 |
[diff.cpp14.expr]: #diff.cpp14.expr
|
| 246 |
[diff.cpp14.lex]: #diff.cpp14.lex
|
| 247 |
[diff.cpp14.library]: #diff.cpp14.library
|
| 248 |
-
[diff.cpp14.special]: #diff.cpp14.special
|
| 249 |
[diff.cpp14.string]: #diff.cpp14.string
|
| 250 |
[diff.cpp14.temp]: #diff.cpp14.temp
|
| 251 |
[diff.cpp14.utilities]: #diff.cpp14.utilities
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 252 |
[diff.dcl]: #diff.dcl
|
| 253 |
-
[diff.decl]: #diff.decl
|
| 254 |
[diff.expr]: #diff.expr
|
| 255 |
[diff.header.assert.h]: #diff.header.assert.h
|
| 256 |
[diff.header.iso646.h]: #diff.header.iso646.h
|
| 257 |
[diff.header.stdalign.h]: #diff.header.stdalign.h
|
| 258 |
[diff.header.stdbool.h]: #diff.header.stdbool.h
|
|
@@ -264,72 +210,32 @@ describes the changes.
|
|
| 264 |
[diff.mods.to.declarations]: #diff.mods.to.declarations
|
| 265 |
[diff.mods.to.definitions]: #diff.mods.to.definitions
|
| 266 |
[diff.mods.to.headers]: #diff.mods.to.headers
|
| 267 |
[diff.null]: #diff.null
|
| 268 |
[diff.offsetof]: #diff.offsetof
|
| 269 |
-
[diff.special]: #diff.special
|
| 270 |
[diff.stat]: #diff.stat
|
| 271 |
[diff.wchar.t]: #diff.wchar.t
|
| 272 |
-
[errno]: diagnostics.md#errno
|
| 273 |
[except]: except.md#except
|
| 274 |
-
[except.spec]: except.md#except.spec
|
| 275 |
[expr]: expr.md#expr
|
| 276 |
-
[expr.ass]: expr.md#expr.ass
|
| 277 |
-
[expr.call]: expr.md#expr.call
|
| 278 |
-
[expr.cast]: expr.md#expr.cast
|
| 279 |
-
[expr.comma]: expr.md#expr.comma
|
| 280 |
-
[expr.cond]: expr.md#expr.cond
|
| 281 |
-
[expr.delete]: expr.md#expr.delete
|
| 282 |
-
[expr.log.and]: expr.md#expr.log.and
|
| 283 |
-
[expr.mul]: expr.md#expr.mul
|
| 284 |
[expr.new]: expr.md#expr.new
|
| 285 |
-
[expr.
|
| 286 |
-
[expr.pre.incr]: expr.md#expr.pre.incr
|
| 287 |
[expr.sizeof]: expr.md#expr.sizeof
|
| 288 |
-
[func.wrap]: utilities.md#func.wrap
|
| 289 |
-
[headers]: library.md#headers
|
| 290 |
[input.output]: input.md#input.output
|
| 291 |
-
[
|
| 292 |
-
[ios::failure]: input.md#ios::failure
|
| 293 |
-
[iostate.flags]: input.md#iostate.flags
|
| 294 |
-
[istream::sentry]: input.md#istream::sentry
|
| 295 |
-
[language.support]: language.md#language.support
|
| 296 |
[lex]: lex.md#lex
|
| 297 |
-
[lex.ccon]: lex.md#lex.ccon
|
| 298 |
-
[lex.icon]: lex.md#lex.icon
|
| 299 |
[lex.key]: lex.md#lex.key
|
| 300 |
-
[lex.
|
| 301 |
-
[lex.ppnumber]: lex.md#lex.ppnumber
|
| 302 |
-
[lex.pptoken]: lex.md#lex.pptoken
|
| 303 |
[lex.string]: lex.md#lex.string
|
| 304 |
[library]: library.md#library
|
| 305 |
-
[logical.operations]: utilities.md#logical.operations
|
| 306 |
-
[namespace.future]: library.md#namespace.future
|
| 307 |
-
[namespace.posix]: library.md#namespace.posix
|
| 308 |
-
[new.delete.single]: language.md#new.delete.single
|
| 309 |
[numerics]: numerics.md#numerics
|
| 310 |
-
[
|
| 311 |
-
[refwrap]: utilities.md#refwrap
|
| 312 |
-
[res.on.macro.definitions]: library.md#res.on.macro.definitions
|
| 313 |
-
[sequence.reqmts]: containers.md#sequence.reqmts
|
| 314 |
-
[special]: special.md#special
|
| 315 |
-
[stmt.goto]: stmt.md#stmt.goto
|
| 316 |
-
[stmt.return]: stmt.md#stmt.return
|
| 317 |
[stmt.stmt]: stmt.md#stmt.stmt
|
| 318 |
-
[stmt.switch]: stmt.md#stmt.switch
|
| 319 |
-
[string.classes]: strings.md#string.classes
|
| 320 |
-
[string.require]: strings.md#string.require
|
| 321 |
[strings]: strings.md#strings
|
| 322 |
-
[support
|
| 323 |
-
[support.
|
| 324 |
-
[support.types
|
| 325 |
-
[
|
| 326 |
-
[tab:keywords]: lex.md#tab:keywords
|
| 327 |
[temp]: temp.md#temp
|
| 328 |
-
[temp.
|
| 329 |
-
[temp.
|
| 330 |
-
[temp.dep.candidate]: temp.md#temp.dep.candidate
|
| 331 |
-
[temp.param]: temp.md#temp.param
|
| 332 |
[thread]: thread.md#thread
|
| 333 |
-
[util.dynamic.safety]: utilities.md#util.dynamic.safety
|
| 334 |
-
[util.smartptr.shared]: utilities.md#util.smartptr.shared
|
| 335 |
[utilities]: utilities.md#utilities
|
|
|
|
| 9 |
|
| 10 |
For compatibility with the C standard library, the C++ standard library
|
| 11 |
provides the C headers enumerated in [[depr.c.headers]], but their use
|
| 12 |
is deprecated in C++.
|
| 13 |
|
| 14 |
+
There are no C++ headers for the C standard library’s headers
|
| 15 |
+
`<stdatomic.h>`, `<stdnoreturn.h>`, and `<threads.h>`, nor are these
|
| 16 |
+
headers from the C standard library headers themselves part of C++.
|
| 17 |
|
| 18 |
+
The C headers `<complex.h>` and `<tgmath.h>` do not contain any of the
|
| 19 |
+
content from the C standard library and instead merely include other
|
| 20 |
+
headers from the C++ standard library.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 21 |
|
| 22 |
### Modifications to definitions <a id="diff.mods.to.definitions">[[diff.mods.to.definitions]]</a>
|
| 23 |
|
| 24 |
#### Types `char16_t` and `char32_t` <a id="diff.char16">[[diff.char16]]</a>
|
| 25 |
|
| 26 |
The types `char16_t` and `char32_t` are distinct types rather than
|
| 27 |
typedefs to existing integral types. The tokens `char16_t` and
|
| 28 |
+
`char32_t` are keywords in this International Standard [[lex.key]]. They
|
| 29 |
+
do not appear as macro or type names defined in `<cuchar>`.
|
|
|
|
| 30 |
|
| 31 |
#### Type `wchar_t` <a id="diff.wchar.t">[[diff.wchar.t]]</a>
|
| 32 |
|
| 33 |
The type `wchar_t` is a distinct type rather than a typedef to an
|
| 34 |
existing integral type. The token `wchar_t` is a keyword in this
|
| 35 |
+
International Standard [[lex.key]]. It does not appear as a macro or
|
| 36 |
+
type name defined in any of `<cstddef>`, `<cstdlib>`, or `<cwchar>`.
|
|
|
|
| 37 |
|
| 38 |
#### Header `<assert.h>` <a id="diff.header.assert.h">[[diff.header.assert.h]]</a>
|
| 39 |
|
| 40 |
+
The token `static_assert` is a keyword in this International Standard
|
| 41 |
+
[[lex.key]]. It does not appear as a macro name defined in `<cassert>`.
|
|
|
|
| 42 |
|
| 43 |
#### Header `<iso646.h>` <a id="diff.header.iso646.h">[[diff.header.iso646.h]]</a>
|
| 44 |
|
| 45 |
+
The tokens `and`, `and_eq`, `bitand`, `bitor`, `compl`, `not`, `not_eq`,
|
| 46 |
`or`, `or_eq`, `xor`, and `xor_eq` are keywords in this International
|
| 47 |
+
Standard [[lex.key]], and are not introduced as macros by .
|
|
|
|
| 48 |
|
| 49 |
#### Header `<stdalign.h>` <a id="diff.header.stdalign.h">[[diff.header.stdalign.h]]</a>
|
| 50 |
|
| 51 |
+
The token `alignas` is a keyword in this International Standard
|
| 52 |
+
[[lex.key]], and is not introduced as a macro by .
|
|
|
|
| 53 |
|
| 54 |
#### Header `<stdbool.h>` <a id="diff.header.stdbool.h">[[diff.header.stdbool.h]]</a>
|
| 55 |
|
| 56 |
The tokens `bool`, `true`, and `false` are keywords in this
|
| 57 |
+
International Standard [[lex.key]], and are not introduced as macros by
|
| 58 |
+
.
|
| 59 |
|
| 60 |
#### Macro `NULL` <a id="diff.null">[[diff.null]]</a>
|
| 61 |
|
| 62 |
+
The macro `NULL`, defined in any of `<clocale>`, `<cstddef>`,
|
| 63 |
+
`<cstdio>`, `<cstdlib>`, `<cstring>`, `<ctime>`, or `<cwchar>`, is an
|
|
|
|
|
|
|
| 64 |
*implementation-defined* C++ null pointer constant in this International
|
| 65 |
+
Standard [[support.types]].
|
| 66 |
|
| 67 |
### Modifications to declarations <a id="diff.mods.to.declarations">[[diff.mods.to.declarations]]</a>
|
| 68 |
|
| 69 |
+
Header `<cstring>`: The following functions have different declarations:
|
|
|
|
| 70 |
|
| 71 |
- `strchr`
|
| 72 |
- `strpbrk`
|
| 73 |
- `strrchr`
|
| 74 |
- `strstr`
|
| 75 |
- `memchr`
|
| 76 |
|
| 77 |
Subclause [[cstring.syn]] describes the changes.
|
| 78 |
|
| 79 |
+
Header `<cwchar>`: The following functions have different declarations:
|
|
|
|
| 80 |
|
| 81 |
- `wcschr`
|
| 82 |
- `wcspbrk`
|
| 83 |
- `wcsrchr`
|
| 84 |
- `wcsstr`
|
| 85 |
- `wmemchr`
|
| 86 |
|
| 87 |
Subclause [[cwchar.syn]] describes the changes.
|
| 88 |
|
| 89 |
+
Header `<cstddef>` declares the name `nullptr_t` in addition to the
|
| 90 |
+
names declared in `<stddef.h>` in the C standard library.
|
|
|
|
| 91 |
|
| 92 |
### Modifications to behavior <a id="diff.mods.to.behavior">[[diff.mods.to.behavior]]</a>
|
| 93 |
|
| 94 |
+
Header `<cstdlib>`: The following functions have different behavior:
|
|
|
|
| 95 |
|
| 96 |
- `atexit`
|
| 97 |
- `exit`
|
| 98 |
- `abort`
|
| 99 |
|
| 100 |
Subclause [[support.start.term]] describes the changes.
|
| 101 |
|
| 102 |
+
Header `<csetjmp>`: The following functions have different behavior:
|
|
|
|
| 103 |
|
| 104 |
- `longjmp`
|
| 105 |
|
| 106 |
Subclause [[csetjmp.syn]] describes the changes.
|
| 107 |
|
| 108 |
#### Macro `offsetof(type, member-designator)` <a id="diff.offsetof">[[diff.offsetof]]</a>
|
| 109 |
|
| 110 |
+
The macro `offsetof`, defined in `<cstddef>`, accepts a restricted set
|
| 111 |
+
of `type` arguments in this International Standard. Subclause
|
| 112 |
+
[[support.types.layout]] describes the change.
|
| 113 |
|
| 114 |
#### Memory allocation functions <a id="diff.malloc">[[diff.malloc]]</a>
|
| 115 |
|
| 116 |
The functions `aligned_alloc`, `calloc`, `malloc`, and `realloc` are
|
| 117 |
restricted in this International Standard. Subclause [[c.malloc]]
|
| 118 |
describes the changes.
|
| 119 |
|
| 120 |
<!-- Link reference definitions -->
|
| 121 |
[algorithms]: algorithms.md#algorithms
|
|
|
|
|
|
|
|
|
|
| 122 |
[basic]: basic.md#basic
|
|
|
|
| 123 |
[basic.link]: basic.md#basic.link
|
| 124 |
[basic.scope]: basic.md#basic.scope
|
|
|
|
| 125 |
[basic.stc.dynamic]: basic.md#basic.stc.dynamic
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 126 |
[c.malloc]: utilities.md#c.malloc
|
|
|
|
| 127 |
[class]: class.md#class
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 128 |
[containers]: containers.md#containers
|
| 129 |
+
[conv.array]: expr.md#conv.array
|
| 130 |
+
[conv.func]: expr.md#conv.func
|
| 131 |
+
[conv.lval]: expr.md#conv.lval
|
|
|
|
|
|
|
| 132 |
[cpp]: cpp.md#cpp
|
| 133 |
+
[csetjmp.syn]: support.md#csetjmp.syn
|
|
|
|
|
|
|
|
|
|
|
|
|
| 134 |
[cstring.syn]: strings.md#cstring.syn
|
|
|
|
|
|
|
| 135 |
[cwchar.syn]: strings.md#cwchar.syn
|
| 136 |
[dcl.constexpr]: dcl.md#dcl.constexpr
|
| 137 |
+
[dcl.constinit]: dcl.md#dcl.constinit
|
| 138 |
[dcl.dcl]: dcl.md#dcl.dcl
|
| 139 |
+
[dcl.fct.def.coroutine]: dcl.md#dcl.fct.def.coroutine
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 140 |
[dcl.type]: dcl.md#dcl.type
|
| 141 |
[dcl.typedef]: dcl.md#dcl.typedef
|
| 142 |
[depr]: future.md#depr
|
| 143 |
[depr.c.headers]: future.md#depr.c.headers
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 144 |
[diagnostics]: diagnostics.md#diagnostics
|
| 145 |
[diff]: #diff
|
| 146 |
[diff.basic]: #diff.basic
|
| 147 |
[diff.char16]: #diff.char16
|
| 148 |
[diff.class]: #diff.class
|
|
|
|
| 149 |
[diff.cpp]: #diff.cpp
|
| 150 |
[diff.cpp03]: #diff.cpp03
|
| 151 |
[diff.cpp03.algorithms]: #diff.cpp03.algorithms
|
| 152 |
+
[diff.cpp03.class]: #diff.cpp03.class
|
| 153 |
[diff.cpp03.containers]: #diff.cpp03.containers
|
|
|
|
| 154 |
[diff.cpp03.dcl.dcl]: #diff.cpp03.dcl.dcl
|
|
|
|
| 155 |
[diff.cpp03.diagnostics]: #diff.cpp03.diagnostics
|
| 156 |
[diff.cpp03.expr]: #diff.cpp03.expr
|
| 157 |
[diff.cpp03.input.output]: #diff.cpp03.input.output
|
| 158 |
[diff.cpp03.language.support]: #diff.cpp03.language.support
|
| 159 |
[diff.cpp03.lex]: #diff.cpp03.lex
|
| 160 |
[diff.cpp03.library]: #diff.cpp03.library
|
| 161 |
[diff.cpp03.numerics]: #diff.cpp03.numerics
|
|
|
|
| 162 |
[diff.cpp03.strings]: #diff.cpp03.strings
|
| 163 |
[diff.cpp03.temp]: #diff.cpp03.temp
|
| 164 |
[diff.cpp03.utilities]: #diff.cpp03.utilities
|
| 165 |
[diff.cpp11]: #diff.cpp11
|
| 166 |
[diff.cpp11.basic]: #diff.cpp11.basic
|
| 167 |
[diff.cpp11.dcl.dcl]: #diff.cpp11.dcl.dcl
|
|
|
|
| 168 |
[diff.cpp11.expr]: #diff.cpp11.expr
|
| 169 |
[diff.cpp11.input.output]: #diff.cpp11.input.output
|
| 170 |
[diff.cpp11.lex]: #diff.cpp11.lex
|
| 171 |
[diff.cpp11.library]: #diff.cpp11.library
|
| 172 |
[diff.cpp14]: #diff.cpp14
|
| 173 |
+
[diff.cpp14.class]: #diff.cpp14.class
|
| 174 |
[diff.cpp14.containers]: #diff.cpp14.containers
|
| 175 |
[diff.cpp14.dcl.dcl]: #diff.cpp14.dcl.dcl
|
|
|
|
| 176 |
[diff.cpp14.depr]: #diff.cpp14.depr
|
| 177 |
[diff.cpp14.except]: #diff.cpp14.except
|
| 178 |
[diff.cpp14.expr]: #diff.cpp14.expr
|
| 179 |
[diff.cpp14.lex]: #diff.cpp14.lex
|
| 180 |
[diff.cpp14.library]: #diff.cpp14.library
|
|
|
|
| 181 |
[diff.cpp14.string]: #diff.cpp14.string
|
| 182 |
[diff.cpp14.temp]: #diff.cpp14.temp
|
| 183 |
[diff.cpp14.utilities]: #diff.cpp14.utilities
|
| 184 |
+
[diff.cpp17]: #diff.cpp17
|
| 185 |
+
[diff.cpp17.alg.reqs]: #diff.cpp17.alg.reqs
|
| 186 |
+
[diff.cpp17.basic]: #diff.cpp17.basic
|
| 187 |
+
[diff.cpp17.class]: #diff.cpp17.class
|
| 188 |
+
[diff.cpp17.containers]: #diff.cpp17.containers
|
| 189 |
+
[diff.cpp17.dcl.dcl]: #diff.cpp17.dcl.dcl
|
| 190 |
+
[diff.cpp17.depr]: #diff.cpp17.depr
|
| 191 |
+
[diff.cpp17.except]: #diff.cpp17.except
|
| 192 |
+
[diff.cpp17.expr]: #diff.cpp17.expr
|
| 193 |
+
[diff.cpp17.input.output]: #diff.cpp17.input.output
|
| 194 |
+
[diff.cpp17.iterators]: #diff.cpp17.iterators
|
| 195 |
+
[diff.cpp17.lex]: #diff.cpp17.lex
|
| 196 |
+
[diff.cpp17.library]: #diff.cpp17.library
|
| 197 |
+
[diff.cpp17.over]: #diff.cpp17.over
|
| 198 |
+
[diff.cpp17.temp]: #diff.cpp17.temp
|
| 199 |
[diff.dcl]: #diff.dcl
|
|
|
|
| 200 |
[diff.expr]: #diff.expr
|
| 201 |
[diff.header.assert.h]: #diff.header.assert.h
|
| 202 |
[diff.header.iso646.h]: #diff.header.iso646.h
|
| 203 |
[diff.header.stdalign.h]: #diff.header.stdalign.h
|
| 204 |
[diff.header.stdbool.h]: #diff.header.stdbool.h
|
|
|
|
| 210 |
[diff.mods.to.declarations]: #diff.mods.to.declarations
|
| 211 |
[diff.mods.to.definitions]: #diff.mods.to.definitions
|
| 212 |
[diff.mods.to.headers]: #diff.mods.to.headers
|
| 213 |
[diff.null]: #diff.null
|
| 214 |
[diff.offsetof]: #diff.offsetof
|
|
|
|
| 215 |
[diff.stat]: #diff.stat
|
| 216 |
[diff.wchar.t]: #diff.wchar.t
|
|
|
|
| 217 |
[except]: except.md#except
|
|
|
|
| 218 |
[expr]: expr.md#expr
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 219 |
[expr.new]: expr.md#expr.new
|
| 220 |
+
[expr.prim.req]: expr.md#expr.prim.req
|
|
|
|
| 221 |
[expr.sizeof]: expr.md#expr.sizeof
|
|
|
|
|
|
|
| 222 |
[input.output]: input.md#input.output
|
| 223 |
+
[iterators]: iterators.md#iterators
|
|
|
|
|
|
|
|
|
|
|
|
|
| 224 |
[lex]: lex.md#lex
|
|
|
|
|
|
|
| 225 |
[lex.key]: lex.md#lex.key
|
| 226 |
+
[lex.name]: lex.md#lex.name
|
|
|
|
|
|
|
| 227 |
[lex.string]: lex.md#lex.string
|
| 228 |
[library]: library.md#library
|
|
|
|
|
|
|
|
|
|
|
|
|
| 229 |
[numerics]: numerics.md#numerics
|
| 230 |
+
[over]: over.md#over
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 231 |
[stmt.stmt]: stmt.md#stmt.stmt
|
|
|
|
|
|
|
|
|
|
| 232 |
[strings]: strings.md#strings
|
| 233 |
+
[support]: support.md#support
|
| 234 |
+
[support.start.term]: support.md#support.start.term
|
| 235 |
+
[support.types]: support.md#support.types
|
| 236 |
+
[support.types.layout]: support.md#support.types.layout
|
|
|
|
| 237 |
[temp]: temp.md#temp
|
| 238 |
+
[temp.concept]: temp.md#temp.concept
|
| 239 |
+
[temp.pre]: temp.md#temp.pre
|
|
|
|
|
|
|
| 240 |
[thread]: thread.md#thread
|
|
|
|
|
|
|
| 241 |
[utilities]: utilities.md#utilities
|