Skip to content

Commit 263ff5d

Browse files
jensmaurertkoeppe
authored andcommitted
[std] Introduce the label 'term.trivial.type'
1 parent dd2c51e commit 263ff5d

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
@@ -20146,7 +20146,7 @@
2014620146
\pnum
2014720147
For the purpose of defining the templates in this subclause,
2014820148
a function call expression \tcode{declval<T>()} for any type \tcode{T}
20149-
is considered to be a trivial~(\ref{basic.types}, \ref{special}) function call
20149+
is considered to be a trivial~(\ref{term.trivial.type}, \ref{special}) function call
2015020150
that is not an odr-use\iref{term.odr.use} of \tcode{declval}
2015120151
in the context of the corresponding definition
2015220152
notwithstanding the restrictions of~\ref{declval}.
@@ -20192,7 +20192,7 @@
2019220192
\indexlibraryglobal{is_trivial}%
2019320193
\tcode{template<class T>}\br
2019420194
\tcode{struct is_trivial;} &
20195-
\tcode{T} is a trivial type\iref{basic.types} &
20195+
\tcode{T} is a trivial type\iref{term.trivial.type} &
2019620196
\tcode{remove_all_extents_t<T>} shall be a complete
2019720197
type or \cv{}~\keyword{void}. \\ \rowsep
2019820198

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

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

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

0 commit comments

Comments
 (0)