Skip to content

[meta.unary.prop] [class.default.ctor] [class.dtor] Indexing and xrefs for the word "trivial" #6997

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions source/classes.tex
Original file line number Diff line number Diff line change
Expand Up @@ -1208,7 +1208,6 @@

\pnum
\indextext{constructor!inheritance of}%
\indextext{constructor!non-trivial}%
A \defnadj{default}{constructor} for a class \tcode{X}
is a constructor of class \tcode{X}
for which each parameter
Expand Down Expand Up @@ -2043,7 +2042,9 @@
\end{itemize}

\pnum
A destructor is trivial if it is not user-provided and if:
A destructor is
\defnx{trivial}{destructor!trivial}
if it is not user-provided and if:
\begin{itemize}
\item the destructor is not virtual,

Expand Down
8 changes: 4 additions & 4 deletions source/meta.tex
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,7 @@
\pnum
For the purpose of defining the templates in this subclause,
a function call expression \tcode{declval<T>()} for any type \tcode{T}
is considered to be a trivial\iref{term.trivial.type,special} function call
is considered to be a trivial\iref{special} function call
that is not an odr-use\iref{term.odr.use} of \tcode{declval}
in the context of the corresponding definition
notwithstanding the restrictions of~\ref{declval}.
Expand Down Expand Up @@ -1047,7 +1047,7 @@
\tcode{is_constructible_v<T,}\br
\tcode{Args...>} is \tcode{true} and the variable
definition for \tcode{is_constructible}, as defined below, is known to call
no operation that is not trivial\iref{term.trivial.type,special}. &
no operation that is not trivial\iref{special}. &
\tcode{T} and all types in the template parameter pack \tcode{Args} shall be complete types,
\cv{}~\keyword{void}, or arrays of unknown bound. \\ \rowsep

Expand Down Expand Up @@ -1082,7 +1082,7 @@
\tcode{struct is_trivially_assignable;} &
\tcode{is_assignable_v<T, U>} is \tcode{true} and the assignment, as defined by
\tcode{is_assignable}, is known to call no operation that is not
trivial\iref{term.trivial.type,special}. &
trivial\iref{special}. &
\tcode{T} and \tcode{U} shall be complete types, \cv{}~\keyword{void},
or arrays of unknown bound. \\ \rowsep

Expand Down Expand Up @@ -1553,7 +1553,7 @@
\pnum
For the purpose of defining the templates in this subclause,
a function call expression \tcode{declval<T>()} for any type \tcode{T}
is considered to be a trivial\iref{term.trivial.type,special} function call
is considered to be a trivial\iref{special} function call
that is not an odr-use\iref{term.odr.use} of \tcode{declval}
in the context of the corresponding definition
notwithstanding the restrictions of~\ref{declval}.
Expand Down
Loading