File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change 2242
2242
is not a valid alignment value,
2243
2243
the behavior is undefined.
2244
2244
2245
+ \pnum
2246
+ On freestanding implementations,
2247
+ it is \impldef {whether freestanding default replaceable global allocation functions satisfy required behavior}
2248
+ whether the default versions of the replaceable global allocation functions
2249
+ satisfy the required behaviors
2250
+ described in \ref {new.delete.single } and \ref {new.delete.array }.
2251
+ \begin {note }
2252
+ A freestanding implementation's default versions of
2253
+ the replaceable global allocation functions
2254
+ can cause undefined behavior when invoked.
2255
+ During constant evaluation,
2256
+ the behaviors of those default versions are irrelevant,
2257
+ as those calls are omitted\iref {expr.new }.
2258
+ \end {note }
2259
+
2260
+ \recommended
2261
+ If any of the default versions of the replaceable global allocation functions
2262
+ meet the requirements of a hosted implementation, they all should.
2263
+
2245
2264
\newcommand {\replaceabledesc }[1]{%
2246
2265
A \Cpp {} program may define functions with #1 of these function signatures,
2247
2266
and thereby displace the default versions defined by the
You can’t perform that action at this time.
0 commit comments