Skip to content

Commit 1aee0ca

Browse files
authored
[lib] Change 'expression inside noexcept' to 'exception specification' (#4105)
* [lib] 'expression inside noexcept' -> 'exception specification'
1 parent afd12f1 commit 1aee0ca

File tree

4 files changed

+24
-24
lines changed

4 files changed

+24
-24
lines changed

source/iostreams.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7834,7 +7834,7 @@
78347834

78357835
\pnum
78367836
\remarks
7837-
The expression inside \tcode{noexcept} is equivalent to:\\
7837+
The exception specification is equivalent to:\\
78387838
\tcode{allocator_traits<Allocator>::propagate_on_container_swap::value ||}\\
78397839
\tcode{allocator_traits<Allocator>::is_always_equal::value}.
78407840
\end{itemdescr}

source/iterators.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3606,7 +3606,7 @@
36063606

36073607
\pnum
36083608
\remarks
3609-
The expression in \tcode{noexcept} is equivalent to:
3609+
The exception specification is equivalent to:
36103610
\begin{codeblock}
36113611
is_nothrow_copy_constructible_v<Iterator> &&
36123612
noexcept(ranges::iter_move(--declval<Iterator&>()))
@@ -3633,7 +3633,7 @@
36333633

36343634
\pnum
36353635
\remarks
3636-
The expression in \tcode{noexcept} is equivalent to:
3636+
The exception specification is equivalent to:
36373637
\begin{codeblock}
36383638
is_nothrow_copy_constructible_v<Iterator> &&
36393639
is_nothrow_copy_constructible_v<Iterator2> &&

source/strings.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3005,7 +3005,7 @@
30053005

30063006
\pnum
30073007
\remarks
3008-
The expression inside \tcode{noexcept} is equivalent to
3008+
The exception specification is equivalent to
30093009
\tcode{is_nothrow_convertible_v<const T\&, basic_string_view<charT, traits>>}.
30103010
\end{itemdescr}
30113011

@@ -3059,7 +3059,7 @@
30593059

30603060
\pnum
30613061
\remarks
3062-
The expression inside \tcode{noexcept} is equivalent to
3062+
The exception specification is equivalent to
30633063
\tcode{is_nothrow_convertible_v<const T\&, basic_string_view<charT, traits>>}.
30643064
\end{itemdescr}
30653065

source/utilities.tex

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@
227227
\remarks
228228
This function
229229
is a designated customization point\iref{namespace.std}.
230-
The expression inside \tcode{noexcept} is equivalent to:
230+
The exception specification is equivalent to:
231231

232232
\begin{codeblock}
233233
is_nothrow_move_constructible_v<T> && is_nothrow_move_assignable_v<T>
@@ -931,7 +931,7 @@
931931

932932
\pnum
933933
\remarks
934-
The expression inside \tcode{noexcept} is equivalent to:
934+
The exception specification is equivalent to:
935935
\begin{codeblock}
936936
is_nothrow_move_assignable_v<T1> && is_nothrow_move_assignable_v<T2>
937937
\end{codeblock}
@@ -979,7 +979,7 @@
979979

980980
\pnum
981981
\remarks
982-
The expression inside \tcode{noexcept} is equivalent to:
982+
The exception specification is equivalent to:
983983
\begin{codeblock}
984984
is_nothrow_swappable_v<first_type> && is_nothrow_swappable_v<second_type>
985985
\end{codeblock}
@@ -1719,7 +1719,7 @@
17191719

17201720
\pnum
17211721
\remarks
1722-
The expression inside \tcode{noexcept} is equivalent to the logical \logop{AND} of the
1722+
The exception specification is equivalent to the logical \logop{AND} of the
17231723
following expressions:
17241724

17251725
\begin{codeblock}
@@ -1849,7 +1849,7 @@
18491849

18501850
\pnum
18511851
\remarks
1852-
The expression inside \tcode{noexcept} is equivalent to the logical
1852+
The exception specification is equivalent to the logical
18531853
\logop{AND} of the following expressions:
18541854

18551855
\begin{codeblock}
@@ -2342,7 +2342,7 @@
23422342

23432343
\pnum
23442344
\remarks
2345-
The expression inside \tcode{noexcept} is equivalent to:
2345+
The exception specification is equivalent to:
23462346

23472347
\begin{codeblock}
23482348
noexcept(x.swap(y))
@@ -2601,7 +2601,7 @@
26012601

26022602
\pnum
26032603
\remarks
2604-
The expression inside \tcode{noexcept} is equivalent to
2604+
The exception specification is equivalent to
26052605
\tcode{is_nothrow_move_constructible_v<T>}.
26062606
If \tcode{is_trivially_move_constructible_v<T>} is \tcode{true},
26072607
this constructor is trivial.
@@ -2908,7 +2908,7 @@
29082908

29092909
\pnum
29102910
\remarks
2911-
The expression inside \tcode{noexcept} is equivalent to:
2911+
The exception specification is equivalent to:
29122912
\begin{codeblock}
29132913
is_nothrow_move_assignable_v<T> && is_nothrow_move_constructible_v<T>
29142914
\end{codeblock}
@@ -3189,7 +3189,7 @@
31893189

31903190
\pnum
31913191
\remarks
3192-
The expression inside \tcode{noexcept} is equivalent to:
3192+
The exception specification is equivalent to:
31933193
\begin{codeblock}
31943194
is_nothrow_move_constructible_v<T> && is_nothrow_swappable_v<T>
31953195
\end{codeblock}
@@ -4126,7 +4126,7 @@
41264126
This function is \tcode{constexpr} if and only if the
41274127
value-initialization of the alternative type $\tcode{T}_0$ would satisfy the
41284128
requirements for a constexpr function.
4129-
The expression inside \tcode{noexcept} is equivalent to
4129+
The exception specification is equivalent to
41304130
\tcode{is_nothrow_default_constructible_v<$\tcode{T}_0$>}.
41314131
\begin{note}
41324132
See also class \tcode{monostate}.
@@ -4181,8 +4181,8 @@
41814181

41824182
\pnum
41834183
\remarks
4184-
The expression inside \tcode{noexcept} is equivalent to the logical \logop{AND} of
4185-
\tcode{is_nothrow_move_constructible_v<$\tcode{T}_i$>} for all $i$.
4184+
The exception specification is equivalent to the logical \logop{AND} of
4185+
\tcode{is_nothrow_move_con\-structible_v<$\tcode{T}_i$>} for all $i$.
41864186
If \tcode{is_trivially_move_constructible_v<$\tcode{T}_i$>}
41874187
is \tcode{true} for all $i$, this constructor is trivial.
41884188
\end{itemdescr}
@@ -4250,7 +4250,7 @@
42504250

42514251
\pnum
42524252
\remarks
4253-
The expression inside \tcode{noexcept} is equivalent to
4253+
The exception specification is equivalent to
42544254
\tcode{is_nothrow_constructible_v<$\tcode{T}_j$, T>}.
42554255
If $\tcode{T}_j$'s selected constructor is a constexpr constructor,
42564256
this constructor is a constexpr constructor.
@@ -4500,7 +4500,7 @@
45004500
\tcode{is_trivially_move_assignable_v<$\tcode{T}_i$> \&\&}
45014501
\tcode{is_trivially_destructible_v<$\tcode{T}_i$>}
45024502
is \tcode{true} for all $i$, this assignment operator is trivial.
4503-
The expression inside \tcode{noexcept} is equivalent to
4503+
The exception specification is equivalent to
45044504
\tcode{is_nothrow_move_constructible_v<$\tcode{T}_i$> \&\& is_nothrow_move_assignable_v<$\tcode{T}_i$>} for all $i$.
45054505
\begin{itemize}
45064506
\item If an exception is thrown during the call to $\tcode{T}_j$'s move construction
@@ -4577,7 +4577,7 @@
45774577

45784578
\pnum
45794579
\remarks
4580-
The expression inside \tcode{noexcept} is equivalent to:
4580+
The exception specification is equivalent to:
45814581
\begin{codeblock}
45824582
is_nothrow_assignable_v<T@$_j$@&, T> && is_nothrow_constructible_v<T@$_j$@, T>
45834583
\end{codeblock}
@@ -4799,7 +4799,7 @@
47994799
If an exception is thrown during the exchange of the values of \tcode{*this}
48004800
and \tcode{rhs}, the states of the values of \tcode{*this} and of \tcode{rhs}
48014801
are determined by the exception safety guarantee of \tcode{variant}'s move constructor.
4802-
The expression inside \tcode{noexcept} is equivalent to the logical \logop{AND} of
4802+
The exception specification is equivalent to the logical \logop{AND} of
48034803
\tcode{is_nothrow_move_constructible_v<$\tcode{T}_i$> \&\& is_nothrow_swappable_v<$\tcode{T}_i$>} for all $i$.
48044804
\end{itemdescr}
48054805

@@ -5219,7 +5219,7 @@
52195219

52205220
\pnum
52215221
\remarks
5222-
The expression inside \tcode{noexcept} is equivalent to \tcode{noexcept(v.swap(w))}.
5222+
The exception specification is equivalent to \tcode{noexcept(v.swap(w))}.
52235223
\end{itemdescr}
52245224

52255225
\rSec2[variant.bad.access]{Class \tcode{bad_variant_access}}%
@@ -13442,8 +13442,8 @@
1344213442

1344313443
\pnum
1344413444
\remarks
13445-
The expression inside \tcode{noexcept}
13446-
is equivalent to \tcode{noexcept(\placeholdernc{FUN}(declval<U>()))}.
13445+
The exception specification is equivalent to
13446+
\tcode{noexcept(\placeholdernc{FUN}(declval<U>()))}.
1344713447
\end{itemdescr}
1344813448

1344913449
\indexlibraryctor{reference_wrapper}%

0 commit comments

Comments
 (0)