|
7645 | 7645 | \begin{itemdescr}
|
7646 | 7646 | \pnum
|
7647 | 7647 | 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)}. |
7652 | 7652 | 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}. |
7655 | 7655 |
|
7656 | 7656 | \pnum
|
7657 | 7657 | \mandates
|
7658 | 7658 | \begin{itemize}
|
7659 | 7659 | \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 |
7661 | 7661 | of type \tcode{allocator_arg_t}.
|
7662 | 7662 | \item \tcode{allocator_traits<PAlloc>::pointer} is a pointer type.
|
7663 | 7663 | \end{itemize}
|
7664 | 7664 |
|
7665 | 7665 | \pnum
|
7666 | 7666 | \effects
|
7667 | 7667 | Initializes an allocator \tcode{palloc} of type \tcode{PAlloc} with
|
7668 |
| -\tcode{\placeholder{alloc}}. |
| 7668 | +\tcode{alc}. |
7669 | 7669 | Uses \tcode{palloc} to allocate storage for the
|
7670 | 7670 | smallest array of \tcode{U} sufficient to provide storage for a
|
7671 | 7671 | coroutine state of size \tcode{size}, and unspecified additional
|
|
0 commit comments