Skip to content

Commit fb7c2a0

Browse files
committed
[std] Introduce the label 'term.trivial.type'
1 parent 11089aa commit fb7c2a0

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
@@ -4703,6 +4703,7 @@
47034703
Scalar types, trivially copyable class types\iref{class.prop},
47044704
arrays of such types, and cv-qualified versions of these
47054705
types are collectively called \defnadjx{trivially copyable}{types}{type}.
4706+
\label{term.trivial.type}%
47064707
Scalar types, trivial class types\iref{class.prop},
47074708
arrays of such types and cv-qualified versions of these
47084709
types are collectively called

source/utilities.tex

+5-5
Original file line numberDiff line numberDiff line change
@@ -20145,7 +20145,7 @@
2014520145
\pnum
2014620146
For the purpose of defining the templates in this subclause,
2014720147
a function call expression \tcode{declval<T>()} for any type \tcode{T}
20148-
is considered to be a trivial~(\ref{basic.types}, \ref{special}) function call
20148+
is considered to be a trivial~(\ref{term.trivial.type}, \ref{special}) function call
2014920149
that is not an odr-use\iref{term.odr.use} of \tcode{declval}
2015020150
in the context of the corresponding definition
2015120151
notwithstanding the restrictions of~\ref{declval}.
@@ -20191,7 +20191,7 @@
2019120191
\indexlibraryglobal{is_trivial}%
2019220192
\tcode{template<class T>}\br
2019320193
\tcode{struct is_trivial;} &
20194-
\tcode{T} is a trivial type\iref{basic.types} &
20194+
\tcode{T} is a trivial type\iref{term.trivial.type} &
2019520195
\tcode{remove_all_extents_t<T>} shall be a complete
2019620196
type or \cv{}~\keyword{void}. \\ \rowsep
2019720197

@@ -20405,7 +20405,7 @@
2040520405
\tcode{is_constructible_v<T,}\br
2040620406
\tcode{Args...>} is \tcode{true} and the variable
2040720407
definition for \tcode{is_constructible}, as defined below, is known to call
20408-
no operation that is not trivial~(\ref{basic.types}, \ref{special}). &
20408+
no operation that is not trivial~(\ref{term.trivial.type}, \ref{special}). &
2040920409
\tcode{T} and all types in the template parameter pack \tcode{Args} shall be complete types,
2041020410
\cv{}~\keyword{void}, or arrays of unknown bound. \\ \rowsep
2041120411

@@ -20440,7 +20440,7 @@
2044020440
\tcode{struct is_trivially_assignable;} &
2044120441
\tcode{is_assignable_v<T, U>} is \tcode{true} and the assignment, as defined by
2044220442
\tcode{is_assignable}, is known to call no operation that is not trivial
20443-
~(\ref{basic.types}, \ref{special}). &
20443+
~(\ref{term.trivial.type}, \ref{special}). &
2044420444
\tcode{T} and \tcode{U} shall be complete types, \cv{}~\keyword{void},
2044520445
or arrays of unknown bound. \\ \rowsep
2044620446

@@ -20875,7 +20875,7 @@
2087520875
\pnum
2087620876
For the purpose of defining the templates in this subclause,
2087720877
a function call expression \tcode{declval<T>()} for any type \tcode{T}
20878-
is considered to be a trivial~(\ref{basic.types}, \ref{special}) function call
20878+
is considered to be a trivial~(\ref{term.trivial.type}, \ref{special}) function call
2087920879
that is not an odr-use\iref{term.odr.use} of \tcode{declval}
2088020880
in the context of the corresponding definition
2088120881
notwithstanding the restrictions of~\ref{declval}.

0 commit comments

Comments
 (0)