Skip to content

Commit 2453909

Browse files
committed
[utilities] Removing redundant wording, constructors and destructors can't be coroutines (since P3533R2), therefore they are always constexpr-suitable and removed wording is not needed.
1 parent 93dd84b commit 2453909

File tree

1 file changed

+0
-17
lines changed

1 file changed

+0
-17
lines changed

source/utilities.tex

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -809,12 +809,6 @@
809809
the element-wise operations specified to be called for that operation
810810
throws an exception.
811811

812-
\pnum
813-
The defaulted move and copy constructor, respectively, of \tcode{pair}
814-
is a constexpr function if and only if all required element-wise
815-
initializations for move and copy, respectively,
816-
would be constexpr-suitable\iref{dcl.constexpr}.
817-
818812
\pnum
819813
If \tcode{(is_trivially_destructible_v<T1> \&\& is_trivially_destructible_v<T2>)}
820814
is \tcode{true}, then the destructor of \tcode{pair} is trivial.
@@ -1797,14 +1791,6 @@
17971791
For each \tcode{tuple} constructor, an exception is thrown only if the construction of
17981792
one of the types in \tcode{Types} throws an exception.
17991793

1800-
\pnum
1801-
The defaulted move and copy constructor, respectively, of
1802-
\tcode{tuple} is a constexpr function if and only if all
1803-
required element-wise initializations for move and copy, respectively,
1804-
would be constexpr-suitable\iref{dcl.constexpr}.
1805-
The defaulted move and copy constructor of \tcode{tuple<>} are
1806-
constexpr functions.
1807-
18081794
\pnum
18091795
If \tcode{is_trivially_destructible_v<$\tcode{T}_i$>} is \tcode{true} for all $\tcode{T}_i$,
18101796
then the destructor of \tcode{tuple} is trivial.
@@ -5773,9 +5759,6 @@
57735759

57745760
\pnum
57755761
\remarks
5776-
This function is \keyword{constexpr} if and only if the
5777-
value-initialization of the alternative type $\tcode{T}_0$
5778-
would be constexpr-suitable\iref{dcl.constexpr}.
57795762
The exception specification is equivalent to
57805763
\tcode{is_nothrow_default_constructible_v<$\tcode{T}_0$>}.
57815764
\begin{note}

0 commit comments

Comments
 (0)