Skip to content

Commit d3ce5b1

Browse files
committed
[task.promise] Fix erroneous "Allocator" that should be "allocator_type"
This was a mistake in the paper (a leftover from a previous revision).
1 parent c66f6d7 commit d3ce5b1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source/exec.tex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7648,19 +7648,19 @@
76487648
\begin{itemdescr}
76497649
\pnum
76507650
If there is no parameter with type \tcode{allocator_arg_t} then let
7651-
\tcode{alc} be \tcode{Allocator()}.
7651+
\tcode{alc} be \tcode{allocator_type()}.
76527652
Otherwise, let \tcode{arg_next} be the parameter
76537653
following the first \tcode{allocator_arg_t} parameter,
7654-
and let \tcode{alc} be \tcode{Allocator(arg_next)}.
7655-
Then \tcode{PAlloc} is \tcode{allocator_traits<Allocator>::template
7654+
and let \tcode{alc} be \tcode{allocator_type(arg_next)}.
7655+
Then \tcode{PAlloc} is \tcode{allocator_traits<allocator_type>::template
76567656
rebind_alloc<U>}, where \tcode{U} is an unspecified type
76577657
whose size and alignment are both \mname{STDCPP_DEFAULT_NEW_ALIGNMENT}.
76587658

76597659
\pnum
76607660
\mandates
76617661
\begin{itemize}
76627662
\item The first parameter of type \tcode{allocator_arg_t} (if any) is not the last parameter.
7663-
\item \tcode{Allocator(arg_next)} is a valid expression if there is a parameter
7663+
\item \tcode{allocator_type(arg_next)} is a valid expression if there is a parameter
76647664
of type \tcode{allocator_arg_t}.
76657665
\item \tcode{allocator_traits<PAlloc>::pointer} is a pointer type.
76667666
\end{itemize}

0 commit comments

Comments
 (0)