|
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}
|
|
8339 | 8339 | \pnum
|
8340 | 8340 | \requires If \tcode{E} is not a reference type,
|
8341 | 8341 | construction of the deleter from an rvalue of type
|
8342 |
| -\tcode{E} shall be well formed and shall not throw an exception. |
| 8342 | +\tcode{E} shall be well-formed and shall not throw an exception. |
8343 | 8343 | Otherwise, \tcode{E} is a reference type and construction of the deleter from an
|
8344 |
| -lvalue of type \tcode{E} shall be well formed and shall not throw an exception. |
| 8344 | +lvalue of type \tcode{E} shall be well-formed and shall not throw an exception. |
8345 | 8345 |
|
8346 | 8346 | \pnum
|
8347 | 8347 | \remarks This constructor shall not participate in overload resolution unless:
|
|
8377 | 8377 |
|
8378 | 8378 | \begin{itemdescr}
|
8379 | 8379 | \pnum
|
8380 |
| -\requires The expression \tcode{get_deleter()(get())} shall be well formed, |
| 8380 | +\requires The expression \tcode{get_deleter()(get())} shall be well-formed, |
8381 | 8381 | shall have well-defined behavior, and shall not throw exceptions. \begin{note} The
|
8382 | 8382 | use of \tcode{default_delete} requires \tcode{T} to be a complete type.
|
8383 | 8383 | \end{note}
|
|
8548 | 8548 |
|
8549 | 8549 | \begin{itemdescr}
|
8550 | 8550 | \pnum
|
8551 |
| -\requires The expression \tcode{get_deleter()(get())} shall be well formed, shall have |
| 8551 | +\requires The expression \tcode{get_deleter()(get())} shall be well-formed, shall have |
8552 | 8552 | well-defined behavior, and shall not throw exceptions.
|
8553 | 8553 |
|
8554 | 8554 | \pnum
|
|
9555 | 9555 | it is unspecified whether this
|
9556 | 9556 | member function is declared. If it is declared, it is unspecified what its
|
9557 | 9557 | return type is, except that the declaration (although not necessarily the
|
9558 |
| -definition) of the function shall be well formed. |
| 9558 | +definition) of the function shall be well-formed. |
9559 | 9559 | \end{itemdescr}
|
9560 | 9560 |
|
9561 | 9561 | \indexlibrarymember{operator->}{shared_ptr}%
|
|
9572 | 9572 | it is unspecified whether this member function is declared.
|
9573 | 9573 | If it is declared, it is unspecified what its return type is,
|
9574 | 9574 | except that the declaration (although not necessarily the definition)
|
9575 |
| -of the function shall be well formed. |
| 9575 | +of the function shall be well-formed. |
9576 | 9576 | \end{itemdescr}
|
9577 | 9577 |
|
9578 | 9578 | \indexlibrarymember{operator[]}{shared_ptr}%
|
|
9590 | 9590 | it is unspecified whether this member function is declared.
|
9591 | 9591 | If it is declared, it is unspecified what its return type is,
|
9592 | 9592 | except that the declaration (although not necessarily the definition)
|
9593 |
| -of the function shall be well formed. |
| 9593 | +of the function shall be well-formed. |
9594 | 9594 |
|
9595 | 9595 | \pnum\throws Nothing.
|
9596 | 9596 | \end{itemdescr}
|
|
10063 | 10063 | \begin{itemdescr}
|
10064 | 10064 | \pnum
|
10065 | 10065 | \requires The expression \tcode{static_cast<T*>((U*)nullptr)} shall
|
10066 |
| -be well formed. |
| 10066 | +be well-formed. |
10067 | 10067 |
|
10068 | 10068 | \pnum
|
10069 | 10069 | \returns
|
|
10089 | 10089 | \begin{itemdescr}
|
10090 | 10090 | \pnum
|
10091 | 10091 | \requires The expression \tcode{dynamic_cast<T*>((U*)nullptr)}
|
10092 |
| -shall be well formed and shall have well-defined behavior. |
| 10092 | +shall be well-formed and shall have well-defined behavior. |
10093 | 10093 |
|
10094 | 10094 | \pnum
|
10095 | 10095 | \returns
|
|
10116 | 10116 | \begin{itemdescr}
|
10117 | 10117 | \pnum
|
10118 | 10118 | \requires The expression \tcode{const_cast<T*>((U*)nullptr)} shall
|
10119 |
| -be well formed. |
| 10119 | +be well-formed. |
10120 | 10120 |
|
10121 | 10121 | \pnum
|
10122 | 10122 | \returns
|
|
10141 | 10141 | \begin{itemdescr}
|
10142 | 10142 | \pnum
|
10143 | 10143 | \requires The expression \tcode{reinterpret_cast<T*>((U*)nullptr)}
|
10144 |
| -shall be well formed. |
| 10144 | +shall be well-formed. |
10145 | 10145 |
|
10146 | 10146 | \pnum\returns
|
10147 | 10147 | \begin{codeblock}
|
|
11171 | 11171 | with allocator \tcode{resource()} (see~\ref{allocator.uses.construction})
|
11172 | 11172 | and constructor arguments \tcode{std::forward<Args>(args)...} is well-formed.
|
11173 | 11173 | \begin{note}
|
11174 |
| -Uses-allocator construction is always well formed |
| 11174 | +Uses-allocator construction is always well-formed |
11175 | 11175 | for types that do not use allocators.\end{note}
|
11176 | 11176 |
|
11177 | 11177 | \pnum
|
|
14285 | 14285 | if the expression
|
14286 | 14286 | \tcode{\placeholdernc{INVOKE}<R>(declval<F\&>(), declval<ArgTypes>()...)},
|
14287 | 14287 | considered as an unevaluated operand\iref{expr}, is
|
14288 |
| -well formed\iref{func.require}. |
| 14288 | +well-formed\iref{func.require}. |
14289 | 14289 |
|
14290 | 14290 | \pnum
|
14291 | 14291 | The \tcode{function} class template is a call
|
|
16194 | 16194 | \tcode{template <class Fn, class... ArgTypes>}\br
|
16195 | 16195 | \tcode{struct is_invocable;} &
|
16196 | 16196 | The expression \tcode{\placeholdernc{INVOKE}(declval<Fn>(), declval<ArgTypes>()...)}
|
16197 |
| - is well formed when treated as an unevaluated operand & |
| 16197 | + is well-formed when treated as an unevaluated operand & |
16198 | 16198 | \tcode{Fn} and all types in the parameter pack \tcode{ArgTypes}
|
16199 | 16199 | shall be complete types, \cv{}~\tcode{void}, or
|
16200 | 16200 | arrays of unknown bound. \\ \rowsep
|
|
16203 | 16203 | \tcode{template <class R, class Fn, class... ArgTypes>}\br
|
16204 | 16204 | \tcode{struct is_invocable_r;} &
|
16205 | 16205 | The expression \tcode{\placeholdernc{INVOKE}<R>(declval<Fn>(), declval<ArgTypes>()...)}
|
16206 |
| - is well formed when treated as an unevaluated operand & |
| 16206 | + is well-formed when treated as an unevaluated operand & |
16207 | 16207 | \tcode{Fn}, \tcode{R}, and all types in the parameter pack \tcode{ArgTypes}
|
16208 | 16208 | shall be complete types, \cv{}~\tcode{void}, or
|
16209 | 16209 | arrays of unknown bound. \\ \rowsep
|
|
16603 | 16603 | \tcode{struct invoke_result;}
|
16604 | 16604 | &
|
16605 | 16605 | If the expression \tcode{\placeholdernc{INVOKE}(declval<Fn>(), declval<ArgTypes>()...)}
|
16606 |
| - is well formed when treated as an unevaluated operand\iref{expr}, |
| 16606 | + is well-formed when treated as an unevaluated operand\iref{expr}, |
16607 | 16607 | the member typedef \tcode{type} names the type
|
16608 | 16608 | \tcode{decltype(\placeholdernc{INVOKE}(declval<Fn>(), declval<ArgTypes>()...))};
|
16609 | 16609 | otherwise, there shall be no member \tcode{type}. Access checking is
|
|
0 commit comments