Skip to content

Commit 95e37e6

Browse files
committed
[std] Introduce the label 'term.trivial.type'
1 parent 0521f40 commit 95e37e6

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

source/basic.tex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4696,6 +4696,7 @@
46964696
Scalar types, trivially copyable class types\iref{class.prop},
46974697
arrays of such types, and cv-qualified versions of these
46984698
types are collectively called \defnadjx{trivially copyable}{types}{type}.
4699+
\label{term.trivial.type}%
46994700
Scalar types, trivial class types\iref{class.prop},
47004701
arrays of such types and cv-qualified versions of these
47014702
types are collectively called

source/utilities.tex

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17957,7 +17957,7 @@
1795717957
\pnum
1795817958
For the purpose of defining the templates in this subclause,
1795917959
a function call expression \tcode{declval<T>()} for any type \tcode{T}
17960-
is considered to be a trivial~(\ref{basic.types}, \ref{special}) function call
17960+
is considered to be a trivial~(\ref{term.trivial.type}, \ref{special}) function call
1796117961
that is not an odr-use\iref{term.odr.use} of \tcode{declval}
1796217962
in the context of the corresponding definition
1796317963
notwithstanding the restrictions of~\ref{declval}.
@@ -17985,7 +17985,7 @@
1798517985
\indexlibraryglobal{is_trivial}%
1798617986
\tcode{template<class T>}\br
1798717987
\tcode{struct is_trivial;} &
17988-
\tcode{T} is a trivial type\iref{basic.types} &
17988+
\tcode{T} is a trivial type\iref{term.trivial.type} &
1798917989
\tcode{remove_all_extents_t<T>} shall be a complete
1799017990
type or \cv{}~\keyword{void}. \\ \rowsep
1799117991

@@ -18199,7 +18199,7 @@
1819918199
\tcode{is_constructible_v<T,}\br
1820018200
\tcode{Args...>} is \tcode{true} and the variable
1820118201
definition for \tcode{is_constructible}, as defined below, is known to call
18202-
no operation that is not trivial~(\ref{basic.types}, \ref{special}). &
18202+
no operation that is not trivial~(\ref{term.trivial.type}, \ref{special}). &
1820318203
\tcode{T} and all types in the template parameter pack \tcode{Args} shall be complete types,
1820418204
\cv{}~\keyword{void}, or arrays of unknown bound. \\ \rowsep
1820518205

@@ -18234,7 +18234,7 @@
1823418234
\tcode{struct is_trivially_assignable;} &
1823518235
\tcode{is_assignable_v<T, U>} is \tcode{true} and the assignment, as defined by
1823618236
\tcode{is_assignable}, is known to call no operation that is not trivial
18237-
~(\ref{basic.types}, \ref{special}). &
18237+
~(\ref{term.trivial.type}, \ref{special}). &
1823818238
\tcode{T} and \tcode{U} shall be complete types, \cv{}~\keyword{void},
1823918239
or arrays of unknown bound. \\ \rowsep
1824018240

@@ -18650,7 +18650,7 @@
1865018650
\pnum
1865118651
For the purpose of defining the templates in this subclause,
1865218652
a function call expression \tcode{declval<T>()} for any type \tcode{T}
18653-
is considered to be a trivial~(\ref{basic.types}, \ref{special}) function call
18653+
is considered to be a trivial~(\ref{term.trivial.type}, \ref{special}) function call
1865418654
that is not an odr-use\iref{term.odr.use} of \tcode{declval}
1865518655
in the context of the corresponding definition
1865618656
notwithstanding the restrictions of~\ref{declval}.

0 commit comments

Comments
 (0)