|
4414 | 4414 | unless \tcode{is_constructible_v<$\tcode{T}_j$, T>} is \tcode{true},
|
4415 | 4415 | and unless the expression
|
4416 | 4416 | \tcode{\placeholdernc{FUN}(}\brk\tcode{std::forward<T>(t))} (with \tcode{\placeholdernc{FUN}}
|
4417 |
| -being the above-mentioned set of imaginary functions) is well formed. |
| 4417 | +being the above-mentioned set of imaginary functions) is well-formed. |
4418 | 4418 |
|
4419 | 4419 | \pnum
|
4420 | 4420 | \begin{note}
|
|
4736 | 4736 | \tcode{is_assignable_v<$\tcode{T}_j$\&, T> \&\& is_constructible_v<$\tcode{T}_j$, T>} is \tcode{true},
|
4737 | 4737 | and unless the expression \tcode{\placeholdernc{FUN}(std::forward<T>(t))} (with
|
4738 | 4738 | \tcode{\placeholdernc{FUN}} being the above-mentioned set of imaginary functions)
|
4739 |
| -is well formed. |
| 4739 | +is well-formed. |
4740 | 4740 |
|
4741 | 4741 | \pnum
|
4742 | 4742 | \begin{note}
|
|
8771 | 8771 | \pnum
|
8772 | 8772 | \requires If \tcode{E} is not a reference type,
|
8773 | 8773 | construction of the deleter from an rvalue of type
|
8774 |
| -\tcode{E} shall be well formed and shall not throw an exception. |
| 8774 | +\tcode{E} shall be well-formed and shall not throw an exception. |
8775 | 8775 | Otherwise, \tcode{E} is a reference type and construction of the deleter from an
|
8776 |
| -lvalue of type \tcode{E} shall be well formed and shall not throw an exception. |
| 8776 | +lvalue of type \tcode{E} shall be well-formed and shall not throw an exception. |
8777 | 8777 |
|
8778 | 8778 | \pnum
|
8779 | 8779 | \remarks This constructor shall not participate in overload resolution unless:
|
|
8809 | 8809 |
|
8810 | 8810 | \begin{itemdescr}
|
8811 | 8811 | \pnum
|
8812 |
| -\requires The expression \tcode{get_deleter()(get())} shall be well formed, |
| 8812 | +\requires The expression \tcode{get_deleter()(get())} shall be well-formed, |
8813 | 8813 | shall have well-defined behavior, and shall not throw exceptions. \begin{note} The
|
8814 | 8814 | use of \tcode{default_delete} requires \tcode{T} to be a complete type.
|
8815 | 8815 | \end{note}
|
|
8980 | 8980 |
|
8981 | 8981 | \begin{itemdescr}
|
8982 | 8982 | \pnum
|
8983 |
| -\requires The expression \tcode{get_deleter()(get())} shall be well formed, shall have |
| 8983 | +\requires The expression \tcode{get_deleter()(get())} shall be well-formed, shall have |
8984 | 8984 | well-defined behavior, and shall not throw exceptions.
|
8985 | 8985 |
|
8986 | 8986 | \pnum
|
|
10036 | 10036 | it is unspecified whether this
|
10037 | 10037 | member function is declared. If it is declared, it is unspecified what its
|
10038 | 10038 | return type is, except that the declaration (although not necessarily the
|
10039 |
| -definition) of the function shall be well formed. |
| 10039 | +definition) of the function shall be well-formed. |
10040 | 10040 | \end{itemdescr}
|
10041 | 10041 |
|
10042 | 10042 | \indexlibrarymember{operator->}{shared_ptr}%
|
|
10053 | 10053 | it is unspecified whether this member function is declared.
|
10054 | 10054 | If it is declared, it is unspecified what its return type is,
|
10055 | 10055 | except that the declaration (although not necessarily the definition)
|
10056 |
| -of the function shall be well formed. |
| 10056 | +of the function shall be well-formed. |
10057 | 10057 | \end{itemdescr}
|
10058 | 10058 |
|
10059 | 10059 | \indexlibrarymember{operator[]}{shared_ptr}%
|
|
10071 | 10071 | it is unspecified whether this member function is declared.
|
10072 | 10072 | If it is declared, it is unspecified what its return type is,
|
10073 | 10073 | except that the declaration (although not necessarily the definition)
|
10074 |
| -of the function shall be well formed. |
| 10074 | +of the function shall be well-formed. |
10075 | 10075 |
|
10076 | 10076 | \pnum\throws Nothing.
|
10077 | 10077 | \end{itemdescr}
|
|
10147 | 10147 | \pnum
|
10148 | 10148 | \requires The expression \tcode{::new (pv) T(std::forward<Args>(args)...)},
|
10149 | 10149 | where \tcode{pv} has type \tcode{void*} and points to storage suitable
|
10150 |
| -to hold an object of type \tcode{T}, shall be well formed. \tcode{A} shall |
| 10150 | +to hold an object of type \tcode{T}, shall be well-formed. \tcode{A} shall |
10151 | 10151 | be an allocator~(\ref{allocator.requirements}). The copy constructor
|
10152 | 10152 | and destructor of \tcode{A} shall not throw exceptions.
|
10153 | 10153 |
|
|
10325 | 10325 | \begin{itemdescr}
|
10326 | 10326 | \pnum
|
10327 | 10327 | \requires The expression \tcode{static_cast<T*>((U*)nullptr)} shall
|
10328 |
| -be well formed. |
| 10328 | +be well-formed. |
10329 | 10329 |
|
10330 | 10330 | \pnum
|
10331 | 10331 | \returns
|
|
10351 | 10351 | \begin{itemdescr}
|
10352 | 10352 | \pnum
|
10353 | 10353 | \requires The expression \tcode{dynamic_cast<T*>((U*)nullptr)}
|
10354 |
| -shall be well formed and shall have well defined behavior. |
| 10354 | +shall be well-formed and shall have well defined behavior. |
10355 | 10355 |
|
10356 | 10356 | \pnum
|
10357 | 10357 | \returns
|
|
10378 | 10378 | \begin{itemdescr}
|
10379 | 10379 | \pnum
|
10380 | 10380 | \requires The expression \tcode{const_cast<T*>((U*)nullptr)} shall
|
10381 |
| -be well formed. |
| 10381 | +be well-formed. |
10382 | 10382 |
|
10383 | 10383 | \pnum
|
10384 | 10384 | \returns
|
|
10403 | 10403 | \begin{itemdescr}
|
10404 | 10404 | \pnum
|
10405 | 10405 | \requires The expression \tcode{reinterpret_cast<T*>((U*)nullptr)}
|
10406 |
| -shall be well formed. |
| 10406 | +shall be well-formed. |
10407 | 10407 |
|
10408 | 10408 | \pnum\returns
|
10409 | 10409 | \begin{codeblock}
|
|
11420 | 11420 | with allocator \tcode{resource()} (see~\ref{allocator.uses.construction})
|
11421 | 11421 | and constructor arguments \tcode{std::forward<Args>(args)...} is well-formed.
|
11422 | 11422 | \begin{note}
|
11423 |
| -Uses-allocator construction is always well formed |
| 11423 | +Uses-allocator construction is always well-formed |
11424 | 11424 | for types that do not use allocators.\end{note}
|
11425 | 11425 |
|
11426 | 11426 | \pnum
|
|
14549 | 14549 | if the expression
|
14550 | 14550 | \tcode{\placeholdernc{INVOKE}<R>(declval<F\&>(), declval<ArgTypes>()...)},
|
14551 | 14551 | considered as an unevaluated operand (Clause~\ref{expr}), is
|
14552 |
| -well formed~(\ref{func.require}). |
| 14552 | +well-formed~(\ref{func.require}). |
14553 | 14553 |
|
14554 | 14554 | \pnum
|
14555 | 14555 | The \tcode{function} class template is a call
|
|
16437 | 16437 | \tcode{template <class Fn, class... ArgTypes>}\br
|
16438 | 16438 | \tcode{struct is_invocable;} &
|
16439 | 16439 | The expression \tcode{\placeholdernc{INVOKE}(declval<Fn>(), declval<ArgTypes>()...)}
|
16440 |
| - is well formed when treated as an unevaluated operand & |
| 16440 | + is well-formed when treated as an unevaluated operand & |
16441 | 16441 | \tcode{Fn} and all types in the parameter pack \tcode{ArgTypes}
|
16442 | 16442 | shall be complete types, \cv{}~\tcode{void}, or
|
16443 | 16443 | arrays of unknown bound. \\ \rowsep
|
|
16446 | 16446 | \tcode{template <class R, class Fn, class... ArgTypes>}\br
|
16447 | 16447 | \tcode{struct is_invocable_r;} &
|
16448 | 16448 | The expression \tcode{\placeholdernc{INVOKE}<R>(declval<Fn>(), declval<ArgTypes>()...)}
|
16449 |
| - is well formed when treated as an unevaluated operand & |
| 16449 | + is well-formed when treated as an unevaluated operand & |
16450 | 16450 | \tcode{Fn}, \tcode{R}, and all types in the parameter pack \tcode{ArgTypes}
|
16451 | 16451 | shall be complete types, \cv{}~\tcode{void}, or
|
16452 | 16452 | arrays of unknown bound. \\ \rowsep
|
|
16848 | 16848 | \tcode{struct invoke_result;}
|
16849 | 16849 | &
|
16850 | 16850 | If the expression \tcode{\placeholdernc{INVOKE}(declval<Fn>(), declval<ArgTypes>()...)}
|
16851 |
| - is well formed when treated as an unevaluated operand (Clause~\ref{expr}), |
| 16851 | + is well-formed when treated as an unevaluated operand (Clause~\ref{expr}), |
16852 | 16852 | the member typedef \tcode{type} names the type
|
16853 | 16853 | \tcode{decltype(\placeholdernc{INVOKE}(declval<Fn>(), declval<ArgTypes>()...))};
|
16854 | 16854 | otherwise, there shall be no member \tcode{type}. Access checking is
|
|
0 commit comments