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 2279
2279
is not a valid alignment value,
2280
2280
the behavior is undefined.
2281
2281
2282
+ \pnum
2283
+ On freestanding implementations,
2284
+ it is \impldef {whether freestanding default replaceable global allocation functions satisfy required behavior}
2285
+ whether the default versions of the replaceable global allocation functions
2286
+ satisfy the required behaviors
2287
+ described in \ref {new.delete.single } and \ref {new.delete.array }.
2288
+ \begin {note }
2289
+ A freestanding implementation's default versions of
2290
+ the replaceable global allocation functions
2291
+ can cause undefined behavior when invoked.
2292
+ During constant evaluation,
2293
+ the behaviors of those default versions are irrelevant,
2294
+ as those calls are omitted\iref {expr.new }.
2295
+ \end {note }
2296
+
2297
+ \recommended
2298
+ If any of the default versions of the replaceable global allocation functions
2299
+ meet the requirements of a hosted implementation, they all should.
2300
+
2282
2301
\newcommand {\replaceabledesc }[1]{%
2283
2302
A \Cpp {} program may define functions with #1 of these function signatures,
2284
2303
and thereby displace the default versions defined by the
You can’t perform that action at this time.
0 commit comments