Skip to content

Commit 0dc6d2a

Browse files
committed
[async.reqmts.associator] Format X using \placeholder
1 parent de344ec commit 0dc6d2a

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/async.tex

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -437,16 +437,17 @@
437437
Finally, the associator shall provide the following type alias and function template in the enclosing namespace:
438438

439439
\begin{codeblock}
440-
template<class S, class C = D> using @\textit{X}@_t = typename X<S, C>::type;
440+
template<class S, class C = D> using @\placeholder{X}@_t = typename @\placeholder{X}@<S, C>::type;
441441

442442
template<class S, class C = D>
443-
typename X<S, C>::type get_@\textit{X}@(const S& s, const C& c = d)
443+
typename @\placeholder{X}@<S, C>::type get_@\placeholder{X}@(const S& s, const C& c = d)
444444
{
445-
return X<S, C>::get(s, c);
445+
return @\placeholder{X}@<S, C>::get(s, c);
446446
}
447447
\end{codeblock}
448448

449-
where X is replaced with the name of the associator class template. \begin{note} This function template is provided as a convenience, to automatically deduce the source and candidate types. \end{note}
449+
where \tcode{\placeholder{X}} is replaced with the name of the associator class template.
450+
\begin{note} This function template is provided as a convenience, to automatically deduce the source and candidate types. \end{note}
450451

451452

452453

0 commit comments

Comments
 (0)