Skip to content

Commit f0365af

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 f0365af

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/exec.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7648,11 +7648,11 @@
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

0 commit comments

Comments
 (0)