Skip to content

Commit d41a91b

Browse files
committed
[std] Introduce the label 'term.trivial.type'
1 parent 0a49870 commit d41a91b

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

source/basic.tex

+1
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

+5-5
Original file line numberDiff line numberDiff line change
@@ -17948,7 +17948,7 @@
1794817948
\pnum
1794917949
For the purpose of defining the templates in this subclause,
1795017950
a function call expression \tcode{declval<T>()} for any type \tcode{T}
17951-
is considered to be a trivial~(\ref{basic.types}, \ref{special}) function call
17951+
is considered to be a trivial~(\ref{term.trivial.type}, \ref{special}) function call
1795217952
that is not an odr-use\iref{term.odr.use} of \tcode{declval}
1795317953
in the context of the corresponding definition
1795417954
notwithstanding the restrictions of~\ref{declval}.
@@ -17976,7 +17976,7 @@
1797617976
\indexlibraryglobal{is_trivial}%
1797717977
\tcode{template<class T>}\br
1797817978
\tcode{struct is_trivial;} &
17979-
\tcode{T} is a trivial type\iref{basic.types} &
17979+
\tcode{T} is a trivial type\iref{term.trivial.type} &
1798017980
\tcode{remove_all_extents_t<T>} shall be a complete
1798117981
type or \cv{}~\keyword{void}. \\ \rowsep
1798217982

@@ -18190,7 +18190,7 @@
1819018190
\tcode{is_constructible_v<T,}\br
1819118191
\tcode{Args...>} is \tcode{true} and the variable
1819218192
definition for \tcode{is_constructible}, as defined below, is known to call
18193-
no operation that is not trivial~(\ref{basic.types}, \ref{special}). &
18193+
no operation that is not trivial~(\ref{term.trivial.type}, \ref{special}). &
1819418194
\tcode{T} and all types in the template parameter pack \tcode{Args} shall be complete types,
1819518195
\cv{}~\keyword{void}, or arrays of unknown bound. \\ \rowsep
1819618196

@@ -18225,7 +18225,7 @@
1822518225
\tcode{struct is_trivially_assignable;} &
1822618226
\tcode{is_assignable_v<T, U>} is \tcode{true} and the assignment, as defined by
1822718227
\tcode{is_assignable}, is known to call no operation that is not trivial
18228-
~(\ref{basic.types}, \ref{special}). &
18228+
~(\ref{term.trivial.type}, \ref{special}). &
1822918229
\tcode{T} and \tcode{U} shall be complete types, \cv{}~\keyword{void},
1823018230
or arrays of unknown bound. \\ \rowsep
1823118231

@@ -18641,7 +18641,7 @@
1864118641
\pnum
1864218642
For the purpose of defining the templates in this subclause,
1864318643
a function call expression \tcode{declval<T>()} for any type \tcode{T}
18644-
is considered to be a trivial~(\ref{basic.types}, \ref{special}) function call
18644+
is considered to be a trivial~(\ref{term.trivial.type}, \ref{special}) function call
1864518645
that is not an odr-use\iref{term.odr.use} of \tcode{declval}
1864618646
in the context of the corresponding definition
1864718647
notwithstanding the restrictions of~\ref{declval}.

0 commit comments

Comments
 (0)