Skip to content

Commit 11089aa

Browse files
committed
[std] Introduce the label 'term.literal.type'
1 parent 530039a commit 11089aa

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

source/basic.tex

+1
Original file line numberDiff line numberDiff line change
@@ -4717,6 +4717,7 @@
47174717
are collectively called \defnadjx{implicit-lifetime}{types}{type}.
47184718

47194719
\pnum
4720+
\label{term.literal.type}%
47204721
A type is a \defnadj{literal}{type} if it is:
47214722
\begin{itemize}
47224723
\item \cv{}~\keyword{void}; or

source/concepts.tex

+1-1
Original file line numberDiff line numberDiff line change
@@ -637,7 +637,7 @@
637637
\tcode{S} is an expression that exchanges the denoted values.
638638
\tcode{S} is a constant expression if
639639
\begin{itemize}
640-
\item \tcode{T} is a literal type\iref{basic.types},
640+
\item \tcode{T} is a literal type\iref{term.literal.type},
641641
\item both \tcode{E1 = std::move(E2)} and \tcode{E2 = std::move(E1)} are
642642
constant subexpressions\iref{defns.const.subexpr}, and
643643
\item the full-expressions of the initializers in the declarations

source/numerics.tex

+1-1
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@
197197
The specializations
198198
\tcode{complex<float>},
199199
\tcode{complex<double>}, and
200-
\tcode{complex<long double>} are literal types\iref{basic.types}.
200+
\tcode{complex<long double>} are literal types\iref{term.literal.type}.
201201

202202
\pnum
203203
If the result of a function is not mathematically defined or not in

0 commit comments

Comments
 (0)