Skip to content

Commit 791f807

Browse files
jensmaurerzygoloid
authored andcommitted
[declval] Indent example and fix phrasing in example
that refers to participation in overload resolution.
1 parent 70e76e1 commit 791f807

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/utilities.tex

+2-2
Original file line numberDiff line numberDiff line change
@@ -419,17 +419,17 @@
419419
\pnum
420420
\remarks
421421
The template parameter \tcode{T} of \tcode{declval} may be an incomplete type.
422-
\end{itemdescr}
423422

424423
\pnum
425424
\begin{example}
426425
\begin{codeblock}
427426
template<class To, class From> decltype(static_cast<To>(declval<From>())) convert(From&&);
428427
\end{codeblock}
429-
declares a function template \tcode{convert} which only participates in overloading if the
428+
declares a function template \tcode{convert} which only participates in overload resolution if the
430429
type \tcode{From} can be explicitly converted to type \tcode{To}. For another example see class
431430
template \tcode{common_type}\iref{meta.trans.other}.
432431
\end{example}
432+
\end{itemdescr}
433433

434434
\rSec2[utility.intcmp]{Integer comparison functions}
435435

0 commit comments

Comments
 (0)