Skip to content

Commit 706bb3e

Browse files
committed
[exec.snd.expos] Amend specification for allocator-aware-forward
Fixes NB US 216-357 (C++26 CD).
1 parent 322d380 commit 706bb3e

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

source/exec.tex

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2096,11 +2096,12 @@
20962096

20972097
\begin{itemdescr}
20982098
\pnum
2099-
\exposid{allocator-aware-forward} is an exposition-only function used to
2100-
either create a new object of type \tcode{T} from \tcode{obj}
2099+
\exposid{allocator-aware-forward} is an exposition-only function template
2100+
used to either
2101+
create a new object of type \tcode{remove_cvref_t<T>} from \tcode{obj}
21012102
or forward \tcode{obj} depending on whether an allocator is available.
21022103
If the environment associated with \tcode{context} provides an allocator
2103-
(i.e., the expression \tcode{get_allocator(get_env(context))} is valid,
2104+
(i.e., the expression \tcode{get_allocator(get_env(context))} is valid),
21042105
let \exposid{alloc} be the result of this expression
21052106
and let \tcode{P} be \tcode{remove_cvref_t<T>}.
21062107

0 commit comments

Comments
 (0)