|
4062 | 4062 | unless \tcode{is_constructible_v<$\tcode{T}_j$, T>} is \tcode{true},
|
4063 | 4063 | and unless the expression
|
4064 | 4064 | \tcode{\placeholdernc{FUN}(}\brk\tcode{std::forward<T>(t))} (with \tcode{\placeholdernc{FUN}}
|
4065 |
| -being the above-mentioned set of imaginary functions) is well formed. |
| 4065 | +being the above-mentioned set of imaginary functions) is well-formed. |
4066 | 4066 |
|
4067 | 4067 | \pnum
|
4068 | 4068 | \begin{note}
|
|
4350 | 4350 | \tcode{is_assignable_v<$\tcode{T}_j$\&, T> \&\& is_constructible_v<$\tcode{T}_j$, T>} is \tcode{true},
|
4351 | 4351 | and unless the expression \tcode{\placeholdernc{FUN}(std::forward<T>(t))} (with
|
4352 | 4352 | \tcode{\placeholdernc{FUN}} being the above-mentioned set of imaginary functions)
|
4353 |
| -is well formed. |
| 4353 | +is well-formed. |
4354 | 4354 |
|
4355 | 4355 | \pnum
|
4356 | 4356 | \begin{note}
|
|
8367 | 8367 | \pnum
|
8368 | 8368 | \requires If \tcode{E} is not a reference type,
|
8369 | 8369 | construction of the deleter from an rvalue of type
|
8370 |
| -\tcode{E} shall be well formed and shall not throw an exception. |
| 8370 | +\tcode{E} shall be well-formed and shall not throw an exception. |
8371 | 8371 | Otherwise, \tcode{E} is a reference type and construction of the deleter from an
|
8372 |
| -lvalue of type \tcode{E} shall be well formed and shall not throw an exception. |
| 8372 | +lvalue of type \tcode{E} shall be well-formed and shall not throw an exception. |
8373 | 8373 |
|
8374 | 8374 | \pnum
|
8375 | 8375 | \remarks This constructor shall not participate in overload resolution unless:
|
|
8405 | 8405 |
|
8406 | 8406 | \begin{itemdescr}
|
8407 | 8407 | \pnum
|
8408 |
| -\requires The expression \tcode{get_deleter()(get())} shall be well formed, |
| 8408 | +\requires The expression \tcode{get_deleter()(get())} shall be well-formed, |
8409 | 8409 | shall have well-defined behavior, and shall not throw exceptions. \begin{note} The
|
8410 | 8410 | use of \tcode{default_delete} requires \tcode{T} to be a complete type.
|
8411 | 8411 | \end{note}
|
|
8576 | 8576 |
|
8577 | 8577 | \begin{itemdescr}
|
8578 | 8578 | \pnum
|
8579 |
| -\requires The expression \tcode{get_deleter()(get())} shall be well formed, shall have |
| 8579 | +\requires The expression \tcode{get_deleter()(get())} shall be well-formed, shall have |
8580 | 8580 | well-defined behavior, and shall not throw exceptions.
|
8581 | 8581 |
|
8582 | 8582 | \pnum
|
|
9652 | 9652 | it is unspecified whether this
|
9653 | 9653 | member function is declared. If it is declared, it is unspecified what its
|
9654 | 9654 | return type is, except that the declaration (although not necessarily the
|
9655 |
| -definition) of the function shall be well formed. |
| 9655 | +definition) of the function shall be well-formed. |
9656 | 9656 | \end{itemdescr}
|
9657 | 9657 |
|
9658 | 9658 | \indexlibrarymember{operator->}{shared_ptr}%
|
|
9669 | 9669 | it is unspecified whether this member function is declared.
|
9670 | 9670 | If it is declared, it is unspecified what its return type is,
|
9671 | 9671 | except that the declaration (although not necessarily the definition)
|
9672 |
| -of the function shall be well formed. |
| 9672 | +of the function shall be well-formed. |
9673 | 9673 | \end{itemdescr}
|
9674 | 9674 |
|
9675 | 9675 | \indexlibrarymember{operator[]}{shared_ptr}%
|
|
9687 | 9687 | it is unspecified whether this member function is declared.
|
9688 | 9688 | If it is declared, it is unspecified what its return type is,
|
9689 | 9689 | except that the declaration (although not necessarily the definition)
|
9690 |
| -of the function shall be well formed. |
| 9690 | +of the function shall be well-formed. |
9691 | 9691 |
|
9692 | 9692 | \pnum\throws Nothing.
|
9693 | 9693 | \end{itemdescr}
|
|
10157 | 10157 | \begin{itemdescr}
|
10158 | 10158 | \pnum
|
10159 | 10159 | \requires The expression \tcode{static_cast<T*>((U*)nullptr)} shall
|
10160 |
| -be well formed. |
| 10160 | +be well-formed. |
10161 | 10161 |
|
10162 | 10162 | \pnum
|
10163 | 10163 | \returns
|
|
10183 | 10183 | \begin{itemdescr}
|
10184 | 10184 | \pnum
|
10185 | 10185 | \requires The expression \tcode{dynamic_cast<T*>((U*)nullptr)}
|
10186 |
| -shall be well formed and shall have well-defined behavior. |
| 10186 | +shall be well-formed and shall have well-defined behavior. |
10187 | 10187 |
|
10188 | 10188 | \pnum
|
10189 | 10189 | \returns
|
|
10210 | 10210 | \begin{itemdescr}
|
10211 | 10211 | \pnum
|
10212 | 10212 | \requires The expression \tcode{const_cast<T*>((U*)nullptr)} shall
|
10213 |
| -be well formed. |
| 10213 | +be well-formed. |
10214 | 10214 |
|
10215 | 10215 | \pnum
|
10216 | 10216 | \returns
|
|
10235 | 10235 | \begin{itemdescr}
|
10236 | 10236 | \pnum
|
10237 | 10237 | \requires The expression \tcode{reinterpret_cast<T*>((U*)nullptr)}
|
10238 |
| -shall be well formed. |
| 10238 | +shall be well-formed. |
10239 | 10239 |
|
10240 | 10240 | \pnum\returns
|
10241 | 10241 | \begin{codeblock}
|
|
11252 | 11252 | with allocator \tcode{resource()} (see~\ref{allocator.uses.construction})
|
11253 | 11253 | and constructor arguments \tcode{std::forward<Args>(args)...} is well-formed.
|
11254 | 11254 | \begin{note}
|
11255 |
| -Uses-allocator construction is always well formed |
| 11255 | +Uses-allocator construction is always well-formed |
11256 | 11256 | for types that do not use allocators.\end{note}
|
11257 | 11257 |
|
11258 | 11258 | \pnum
|
|
14369 | 14369 | if the expression
|
14370 | 14370 | \tcode{\placeholdernc{INVOKE}<R>(declval<F\&>(), declval<ArgTypes>()...)},
|
14371 | 14371 | considered as an unevaluated operand (Clause~\ref{expr}), is
|
14372 |
| -well formed~(\ref{func.require}). |
| 14372 | +well-formed~(\ref{func.require}). |
14373 | 14373 |
|
14374 | 14374 | \pnum
|
14375 | 14375 | The \tcode{function} class template is a call
|
|
16264 | 16264 | \tcode{template <class Fn, class... ArgTypes>}\br
|
16265 | 16265 | \tcode{struct is_invocable;} &
|
16266 | 16266 | The expression \tcode{\placeholdernc{INVOKE}(declval<Fn>(), declval<ArgTypes>()...)}
|
16267 |
| - is well formed when treated as an unevaluated operand & |
| 16267 | + is well-formed when treated as an unevaluated operand & |
16268 | 16268 | \tcode{Fn} and all types in the parameter pack \tcode{ArgTypes}
|
16269 | 16269 | shall be complete types, \cv{}~\tcode{void}, or
|
16270 | 16270 | arrays of unknown bound. \\ \rowsep
|
|
16273 | 16273 | \tcode{template <class R, class Fn, class... ArgTypes>}\br
|
16274 | 16274 | \tcode{struct is_invocable_r;} &
|
16275 | 16275 | The expression \tcode{\placeholdernc{INVOKE}<R>(declval<Fn>(), declval<ArgTypes>()...)}
|
16276 |
| - is well formed when treated as an unevaluated operand & |
| 16276 | + is well-formed when treated as an unevaluated operand & |
16277 | 16277 | \tcode{Fn}, \tcode{R}, and all types in the parameter pack \tcode{ArgTypes}
|
16278 | 16278 | shall be complete types, \cv{}~\tcode{void}, or
|
16279 | 16279 | arrays of unknown bound. \\ \rowsep
|
|
16675 | 16675 | \tcode{struct invoke_result;}
|
16676 | 16676 | &
|
16677 | 16677 | If the expression \tcode{\placeholdernc{INVOKE}(declval<Fn>(), declval<ArgTypes>()...)}
|
16678 |
| - is well formed when treated as an unevaluated operand (Clause~\ref{expr}), |
| 16678 | + is well-formed when treated as an unevaluated operand (Clause~\ref{expr}), |
16679 | 16679 | the member typedef \tcode{type} names the type
|
16680 | 16680 | \tcode{decltype(\placeholdernc{INVOKE}(declval<Fn>(), declval<ArgTypes>()...))};
|
16681 | 16681 | otherwise, there shall be no member \tcode{type}. Access checking is
|
|
0 commit comments