|
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}
|
|
8773 | 8773 | \pnum
|
8774 | 8774 | \requires If \tcode{E} is not a reference type,
|
8775 | 8775 | construction of the deleter from an rvalue of type
|
8776 |
| -\tcode{E} shall be well formed and shall not throw an exception. |
| 8776 | +\tcode{E} shall be well-formed and shall not throw an exception. |
8777 | 8777 | Otherwise, \tcode{E} is a reference type and construction of the deleter from an
|
8778 |
| -lvalue of type \tcode{E} shall be well formed and shall not throw an exception. |
| 8778 | +lvalue of type \tcode{E} shall be well-formed and shall not throw an exception. |
8779 | 8779 |
|
8780 | 8780 | \pnum
|
8781 | 8781 | \remarks This constructor shall not participate in overload resolution unless:
|
|
8811 | 8811 |
|
8812 | 8812 | \begin{itemdescr}
|
8813 | 8813 | \pnum
|
8814 |
| -\requires The expression \tcode{get_deleter()(get())} shall be well formed, |
| 8814 | +\requires The expression \tcode{get_deleter()(get())} shall be well-formed, |
8815 | 8815 | shall have well-defined behavior, and shall not throw exceptions. \begin{note} The
|
8816 | 8816 | use of \tcode{default_delete} requires \tcode{T} to be a complete type.
|
8817 | 8817 | \end{note}
|
|
8982 | 8982 |
|
8983 | 8983 | \begin{itemdescr}
|
8984 | 8984 | \pnum
|
8985 |
| -\requires The expression \tcode{get_deleter()(get())} shall be well formed, shall have |
| 8985 | +\requires The expression \tcode{get_deleter()(get())} shall be well-formed, shall have |
8986 | 8986 | well-defined behavior, and shall not throw exceptions.
|
8987 | 8987 |
|
8988 | 8988 | \pnum
|
|
10038 | 10038 | it is unspecified whether this
|
10039 | 10039 | member function is declared. If it is declared, it is unspecified what its
|
10040 | 10040 | return type is, except that the declaration (although not necessarily the
|
10041 |
| -definition) of the function shall be well formed. |
| 10041 | +definition) of the function shall be well-formed. |
10042 | 10042 | \end{itemdescr}
|
10043 | 10043 |
|
10044 | 10044 | \indexlibrarymember{operator->}{shared_ptr}%
|
|
10055 | 10055 | it is unspecified whether this member function is declared.
|
10056 | 10056 | If it is declared, it is unspecified what its return type is,
|
10057 | 10057 | except that the declaration (although not necessarily the definition)
|
10058 |
| -of the function shall be well formed. |
| 10058 | +of the function shall be well-formed. |
10059 | 10059 | \end{itemdescr}
|
10060 | 10060 |
|
10061 | 10061 | \indexlibrarymember{operator[]}{shared_ptr}%
|
|
10073 | 10073 | it is unspecified whether this member function is declared.
|
10074 | 10074 | If it is declared, it is unspecified what its return type is,
|
10075 | 10075 | except that the declaration (although not necessarily the definition)
|
10076 |
| -of the function shall be well formed. |
| 10076 | +of the function shall be well-formed. |
10077 | 10077 |
|
10078 | 10078 | \pnum\throws Nothing.
|
10079 | 10079 | \end{itemdescr}
|
|
10149 | 10149 | \pnum
|
10150 | 10150 | \requires The expression \tcode{::new (pv) T(std::forward<Args>(args)...)},
|
10151 | 10151 | where \tcode{pv} has type \tcode{void*} and points to storage suitable
|
10152 |
| -to hold an object of type \tcode{T}, shall be well formed. \tcode{A} shall |
| 10152 | +to hold an object of type \tcode{T}, shall be well-formed. \tcode{A} shall |
10153 | 10153 | be an allocator~(\ref{allocator.requirements}). The copy constructor
|
10154 | 10154 | and destructor of \tcode{A} shall not throw exceptions.
|
10155 | 10155 |
|
|
10327 | 10327 | \begin{itemdescr}
|
10328 | 10328 | \pnum
|
10329 | 10329 | \requires The expression \tcode{static_cast<T*>((U*)nullptr)} shall
|
10330 |
| -be well formed. |
| 10330 | +be well-formed. |
10331 | 10331 |
|
10332 | 10332 | \pnum
|
10333 | 10333 | \returns
|
|
10353 | 10353 | \begin{itemdescr}
|
10354 | 10354 | \pnum
|
10355 | 10355 | \requires The expression \tcode{dynamic_cast<T*>((U*)nullptr)}
|
10356 |
| -shall be well formed and shall have well-defined behavior. |
| 10356 | +shall be well-formed and shall have well-defined behavior. |
10357 | 10357 |
|
10358 | 10358 | \pnum
|
10359 | 10359 | \returns
|
|
10380 | 10380 | \begin{itemdescr}
|
10381 | 10381 | \pnum
|
10382 | 10382 | \requires The expression \tcode{const_cast<T*>((U*)nullptr)} shall
|
10383 |
| -be well formed. |
| 10383 | +be well-formed. |
10384 | 10384 |
|
10385 | 10385 | \pnum
|
10386 | 10386 | \returns
|
|
10405 | 10405 | \begin{itemdescr}
|
10406 | 10406 | \pnum
|
10407 | 10407 | \requires The expression \tcode{reinterpret_cast<T*>((U*)nullptr)}
|
10408 |
| -shall be well formed. |
| 10408 | +shall be well-formed. |
10409 | 10409 |
|
10410 | 10410 | \pnum\returns
|
10411 | 10411 | \begin{codeblock}
|
|
11422 | 11422 | with allocator \tcode{resource()} (see~\ref{allocator.uses.construction})
|
11423 | 11423 | and constructor arguments \tcode{std::forward<Args>(args)...} is well-formed.
|
11424 | 11424 | \begin{note}
|
11425 |
| -Uses-allocator construction is always well formed |
| 11425 | +Uses-allocator construction is always well-formed |
11426 | 11426 | for types that do not use allocators.\end{note}
|
11427 | 11427 |
|
11428 | 11428 | \pnum
|
|
14551 | 14551 | if the expression
|
14552 | 14552 | \tcode{\placeholdernc{INVOKE}<R>(declval<F\&>(), declval<ArgTypes>()...)},
|
14553 | 14553 | considered as an unevaluated operand (Clause~\ref{expr}), is
|
14554 |
| -well formed~(\ref{func.require}). |
| 14554 | +well-formed~(\ref{func.require}). |
14555 | 14555 |
|
14556 | 14556 | \pnum
|
14557 | 14557 | The \tcode{function} class template is a call
|
|
16439 | 16439 | \tcode{template <class Fn, class... ArgTypes>}\br
|
16440 | 16440 | \tcode{struct is_invocable;} &
|
16441 | 16441 | The expression \tcode{\placeholdernc{INVOKE}(declval<Fn>(), declval<ArgTypes>()...)}
|
16442 |
| - is well formed when treated as an unevaluated operand & |
| 16442 | + is well-formed when treated as an unevaluated operand & |
16443 | 16443 | \tcode{Fn} and all types in the parameter pack \tcode{ArgTypes}
|
16444 | 16444 | shall be complete types, \cv{}~\tcode{void}, or
|
16445 | 16445 | arrays of unknown bound. \\ \rowsep
|
|
16448 | 16448 | \tcode{template <class R, class Fn, class... ArgTypes>}\br
|
16449 | 16449 | \tcode{struct is_invocable_r;} &
|
16450 | 16450 | The expression \tcode{\placeholdernc{INVOKE}<R>(declval<Fn>(), declval<ArgTypes>()...)}
|
16451 |
| - is well formed when treated as an unevaluated operand & |
| 16451 | + is well-formed when treated as an unevaluated operand & |
16452 | 16452 | \tcode{Fn}, \tcode{R}, and all types in the parameter pack \tcode{ArgTypes}
|
16453 | 16453 | shall be complete types, \cv{}~\tcode{void}, or
|
16454 | 16454 | arrays of unknown bound. \\ \rowsep
|
|
16850 | 16850 | \tcode{struct invoke_result;}
|
16851 | 16851 | &
|
16852 | 16852 | If the expression \tcode{\placeholdernc{INVOKE}(declval<Fn>(), declval<ArgTypes>()...)}
|
16853 |
| - is well formed when treated as an unevaluated operand (Clause~\ref{expr}), |
| 16853 | + is well-formed when treated as an unevaluated operand (Clause~\ref{expr}), |
16854 | 16854 | the member typedef \tcode{type} names the type
|
16855 | 16855 | \tcode{decltype(\placeholdernc{INVOKE}(declval<Fn>(), declval<ArgTypes>()...))};
|
16856 | 16856 | otherwise, there shall be no member \tcode{type}. Access checking is
|
|
0 commit comments