Skip to content

Commit dc76404

Browse files
committed
[task.promise] Clarifications and disambiguations
1 parent 45ee7b5 commit dc76404

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

source/exec.tex

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7645,27 +7645,27 @@
76457645
\begin{itemdescr}
76467646
\pnum
76477647
If there is no parameter with type \tcode{allocator_arg_t} then let
7648-
\tcode{\placeholder{alloc}} be \tcode{Allocator()}.
7649-
Let \tcode{\placeholder{arg_next}} be the parameter following the first
7650-
\tcode{allocator_arg_t} parameter (if any) and let \tcode{\placeholder{alloc}}
7651-
be \tcode{Allocator(\placeholder{arg_next})}.
7648+
\tcode{alc} be \tcode{Allocator()}.
7649+
Otherwise, let \tcode{arg_next} be the parameter
7650+
following the first \tcode{allocator_arg_t} parameter,
7651+
and let \tcode{alc} be \tcode{Allocator(arg_next)}.
76527652
Then \tcode{PAlloc} is \tcode{allocator_traits<Allocator>::template
7653-
re\-bind_alloc\brk{}<U>} where \tcode{U} is an unspecified type
7654-
whose size and alignment are both \tcode{__STDCPP_DEFAULT_NEW_ALIGNMENT__}.
7653+
rebind_alloc<U>}, where \tcode{U} is an unspecified type
7654+
whose size and alignment are both \mname{STDCPP_DEFAULT_NEW_ALIGNMENT}.
76557655

76567656
\pnum
76577657
\mandates
76587658
\begin{itemize}
76597659
\item The first parameter of type \tcode{allocator_arg_t} (if any) is not the last parameter.
7660-
\item \tcode{Allocator(\placeholder{arg_next})} is a valid expression if there is a parameter
7660+
\item \tcode{Allocator(arg_next)} is a valid expression if there is a parameter
76617661
of type \tcode{allocator_arg_t}.
76627662
\item \tcode{allocator_traits<PAlloc>::pointer} is a pointer type.
76637663
\end{itemize}
76647664

76657665
\pnum
76667666
\effects
76677667
Initializes an allocator \tcode{palloc} of type \tcode{PAlloc} with
7668-
\tcode{\placeholder{alloc}}.
7668+
\tcode{alc}.
76697669
Uses \tcode{palloc} to allocate storage for the
76707670
smallest array of \tcode{U} sufficient to provide storage for a
76717671
coroutine state of size \tcode{size}, and unspecified additional

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy