|
4064 | 4064 | unless \tcode{is_constructible_v<$\tcode{T}_j$, T>} is \tcode{true},
|
4065 | 4065 | and unless the expression
|
4066 | 4066 | \tcode{\placeholdernc{FUN}(}\brk\tcode{std::forward<T>(t))} (with \tcode{\placeholdernc{FUN}}
|
4067 |
| -being the above-mentioned set of imaginary functions) is well formed. |
| 4067 | +being the above-mentioned set of imaginary functions) is well-formed. |
4068 | 4068 |
|
4069 | 4069 | \pnum
|
4070 | 4070 | \begin{note}
|
|
4352 | 4352 | \tcode{is_assignable_v<$\tcode{T}_j$\&, T> \&\& is_constructible_v<$\tcode{T}_j$, T>} is \tcode{true},
|
4353 | 4353 | and unless the expression \tcode{\placeholdernc{FUN}(std::forward<T>(t))} (with
|
4354 | 4354 | \tcode{\placeholdernc{FUN}} being the above-mentioned set of imaginary functions)
|
4355 |
| -is well formed. |
| 4355 | +is well-formed. |
4356 | 4356 |
|
4357 | 4357 | \pnum
|
4358 | 4358 | \begin{note}
|
|
8369 | 8369 | \pnum
|
8370 | 8370 | \requires If \tcode{E} is not a reference type,
|
8371 | 8371 | construction of the deleter from an rvalue of type
|
8372 |
| -\tcode{E} shall be well formed and shall not throw an exception. |
| 8372 | +\tcode{E} shall be well-formed and shall not throw an exception. |
8373 | 8373 | Otherwise, \tcode{E} is a reference type and construction of the deleter from an
|
8374 |
| -lvalue of type \tcode{E} shall be well formed and shall not throw an exception. |
| 8374 | +lvalue of type \tcode{E} shall be well-formed and shall not throw an exception. |
8375 | 8375 |
|
8376 | 8376 | \pnum
|
8377 | 8377 | \remarks This constructor shall not participate in overload resolution unless:
|
|
8407 | 8407 |
|
8408 | 8408 | \begin{itemdescr}
|
8409 | 8409 | \pnum
|
8410 |
| -\requires The expression \tcode{get_deleter()(get())} shall be well formed, |
| 8410 | +\requires The expression \tcode{get_deleter()(get())} shall be well-formed, |
8411 | 8411 | shall have well-defined behavior, and shall not throw exceptions. \begin{note} The
|
8412 | 8412 | use of \tcode{default_delete} requires \tcode{T} to be a complete type.
|
8413 | 8413 | \end{note}
|
|
8578 | 8578 |
|
8579 | 8579 | \begin{itemdescr}
|
8580 | 8580 | \pnum
|
8581 |
| -\requires The expression \tcode{get_deleter()(get())} shall be well formed, shall have |
| 8581 | +\requires The expression \tcode{get_deleter()(get())} shall be well-formed, shall have |
8582 | 8582 | well-defined behavior, and shall not throw exceptions.
|
8583 | 8583 |
|
8584 | 8584 | \pnum
|
|
9654 | 9654 | it is unspecified whether this
|
9655 | 9655 | member function is declared. If it is declared, it is unspecified what its
|
9656 | 9656 | return type is, except that the declaration (although not necessarily the
|
9657 |
| -definition) of the function shall be well formed. |
| 9657 | +definition) of the function shall be well-formed. |
9658 | 9658 | \end{itemdescr}
|
9659 | 9659 |
|
9660 | 9660 | \indexlibrarymember{operator->}{shared_ptr}%
|
|
9671 | 9671 | it is unspecified whether this member function is declared.
|
9672 | 9672 | If it is declared, it is unspecified what its return type is,
|
9673 | 9673 | except that the declaration (although not necessarily the definition)
|
9674 |
| -of the function shall be well formed. |
| 9674 | +of the function shall be well-formed. |
9675 | 9675 | \end{itemdescr}
|
9676 | 9676 |
|
9677 | 9677 | \indexlibrarymember{operator[]}{shared_ptr}%
|
|
9689 | 9689 | it is unspecified whether this member function is declared.
|
9690 | 9690 | If it is declared, it is unspecified what its return type is,
|
9691 | 9691 | except that the declaration (although not necessarily the definition)
|
9692 |
| -of the function shall be well formed. |
| 9692 | +of the function shall be well-formed. |
9693 | 9693 |
|
9694 | 9694 | \pnum\throws Nothing.
|
9695 | 9695 | \end{itemdescr}
|
|
10159 | 10159 | \begin{itemdescr}
|
10160 | 10160 | \pnum
|
10161 | 10161 | \requires The expression \tcode{static_cast<T*>((U*)nullptr)} shall
|
10162 |
| -be well formed. |
| 10162 | +be well-formed. |
10163 | 10163 |
|
10164 | 10164 | \pnum
|
10165 | 10165 | \returns
|
|
10185 | 10185 | \begin{itemdescr}
|
10186 | 10186 | \pnum
|
10187 | 10187 | \requires The expression \tcode{dynamic_cast<T*>((U*)nullptr)}
|
10188 |
| -shall be well formed and shall have well-defined behavior. |
| 10188 | +shall be well-formed and shall have well-defined behavior. |
10189 | 10189 |
|
10190 | 10190 | \pnum
|
10191 | 10191 | \returns
|
|
10212 | 10212 | \begin{itemdescr}
|
10213 | 10213 | \pnum
|
10214 | 10214 | \requires The expression \tcode{const_cast<T*>((U*)nullptr)} shall
|
10215 |
| -be well formed. |
| 10215 | +be well-formed. |
10216 | 10216 |
|
10217 | 10217 | \pnum
|
10218 | 10218 | \returns
|
|
10237 | 10237 | \begin{itemdescr}
|
10238 | 10238 | \pnum
|
10239 | 10239 | \requires The expression \tcode{reinterpret_cast<T*>((U*)nullptr)}
|
10240 |
| -shall be well formed. |
| 10240 | +shall be well-formed. |
10241 | 10241 |
|
10242 | 10242 | \pnum\returns
|
10243 | 10243 | \begin{codeblock}
|
|
11254 | 11254 | with allocator \tcode{resource()} (see~\ref{allocator.uses.construction})
|
11255 | 11255 | and constructor arguments \tcode{std::forward<Args>(args)...} is well-formed.
|
11256 | 11256 | \begin{note}
|
11257 |
| -Uses-allocator construction is always well formed |
| 11257 | +Uses-allocator construction is always well-formed |
11258 | 11258 | for types that do not use allocators.\end{note}
|
11259 | 11259 |
|
11260 | 11260 | \pnum
|
|
14371 | 14371 | if the expression
|
14372 | 14372 | \tcode{\placeholdernc{INVOKE}<R>(declval<F\&>(), declval<ArgTypes>()...)},
|
14373 | 14373 | considered as an unevaluated operand\iref{expr}, is
|
14374 |
| -well formed\iref{func.require}. |
| 14374 | +well-formed\iref{func.require}. |
14375 | 14375 |
|
14376 | 14376 | \pnum
|
14377 | 14377 | The \tcode{function} class template is a call
|
|
16266 | 16266 | \tcode{template <class Fn, class... ArgTypes>}\br
|
16267 | 16267 | \tcode{struct is_invocable;} &
|
16268 | 16268 | The expression \tcode{\placeholdernc{INVOKE}(declval<Fn>(), declval<ArgTypes>()...)}
|
16269 |
| - is well formed when treated as an unevaluated operand & |
| 16269 | + is well-formed when treated as an unevaluated operand & |
16270 | 16270 | \tcode{Fn} and all types in the parameter pack \tcode{ArgTypes}
|
16271 | 16271 | shall be complete types, \cv{}~\tcode{void}, or
|
16272 | 16272 | arrays of unknown bound. \\ \rowsep
|
|
16275 | 16275 | \tcode{template <class R, class Fn, class... ArgTypes>}\br
|
16276 | 16276 | \tcode{struct is_invocable_r;} &
|
16277 | 16277 | The expression \tcode{\placeholdernc{INVOKE}<R>(declval<Fn>(), declval<ArgTypes>()...)}
|
16278 |
| - is well formed when treated as an unevaluated operand & |
| 16278 | + is well-formed when treated as an unevaluated operand & |
16279 | 16279 | \tcode{Fn}, \tcode{R}, and all types in the parameter pack \tcode{ArgTypes}
|
16280 | 16280 | shall be complete types, \cv{}~\tcode{void}, or
|
16281 | 16281 | arrays of unknown bound. \\ \rowsep
|
|
16677 | 16677 | \tcode{struct invoke_result;}
|
16678 | 16678 | &
|
16679 | 16679 | If the expression \tcode{\placeholdernc{INVOKE}(declval<Fn>(), declval<ArgTypes>()...)}
|
16680 |
| - is well formed when treated as an unevaluated operand\iref{expr}, |
| 16680 | + is well-formed when treated as an unevaluated operand\iref{expr}, |
16681 | 16681 | the member typedef \tcode{type} names the type
|
16682 | 16682 | \tcode{decltype(\placeholdernc{INVOKE}(declval<Fn>(), declval<ArgTypes>()...))};
|
16683 | 16683 | otherwise, there shall be no member \tcode{type}. Access checking is
|
|
0 commit comments