|
3068 | 3068 | \pnum
|
3069 | 3069 | An \defnadj{atomic}{modify-write operation} is
|
3070 | 3070 | an atomic read-modify-write operation
|
3071 |
| -with weaker synchronization requirements as specified in\iref{atomics.fences}. |
| 3071 | +with weaker synchronization requirements as specified in~\ref{atomics.fences}. |
3072 | 3072 | \begin{note}
|
3073 | 3073 | The intent is for atomic modify-write operations
|
3074 | 3074 | to be implemented using mechanisms that are not ordered, in hardware,
|
|
3826 | 3826 | \indexlibrarymember{store_sub}{atomic_ref<\placeholder{integral-type}>}%
|
3827 | 3827 | \begin{itemdecl}
|
3828 | 3828 | constexpr void store_@\placeholdernc{key}@(value_type operand,
|
3829 |
| - memory_order order = memory_order::seq_cst) const noexcept; |
| 3829 | + memory_order order = memory_order::seq_cst) const noexcept; |
3830 | 3830 | \end{itemdecl}
|
3831 | 3831 |
|
3832 | 3832 | \begin{itemdescr}
|
3833 | 3833 | \pnum
|
3834 | 3834 | \expects
|
3835 |
| -\tcode{order} is \tcode{memory_order_relaxed}, |
3836 |
| -\tcode{memory_order_release}, or |
3837 |
| -\tcode{memory_order_seq_cst}. |
| 3835 | +\tcode{order} is \tcode{memory_order::relaxed}, |
| 3836 | +\tcode{memory_order::release}, or |
| 3837 | +\tcode{memory_order::seq_cst}. |
3838 | 3838 |
|
3839 | 3839 | \pnum
|
3840 | 3840 | \effects
|
|
4086 | 4086 | \begin{itemdescr}
|
4087 | 4087 | \pnum
|
4088 | 4088 | \expects
|
4089 |
| -\tcode{order} is \tcode{memory_order_relaxed}, |
4090 |
| -\tcode{memory_order_release}, or |
4091 |
| -\tcode{memory_order_seq_cst}. |
| 4089 | +\tcode{order} is \tcode{memory_order::relaxed}, |
| 4090 | +\tcode{memory_order::release}, or |
| 4091 | +\tcode{memory_order::seq_cst}. |
4092 | 4092 |
|
4093 | 4093 | \pnum
|
4094 | 4094 | \effects
|
|
4325 | 4325 |
|
4326 | 4326 | \pnum
|
4327 | 4327 | \expects
|
4328 |
| -\tcode{order} is \tcode{memory_order_relaxed}, |
4329 |
| -\tcode{memory_order_release}, or |
4330 |
| -\tcode{memory_order_seq_cst}. |
| 4328 | +\tcode{order} is \tcode{memory_order::relaxed}, |
| 4329 | +\tcode{memory_order::release}, or |
| 4330 | +\tcode{memory_order::seq_cst}. |
4331 | 4331 |
|
4332 | 4332 | \pnum
|
4333 | 4333 | \effects
|
|
5313 | 5313 | \pnum
|
5314 | 5314 | \expects
|
5315 | 5315 | \tcode{order} is
|
5316 |
| -\tcode{memory_order_relaxed}, |
5317 |
| -\tcode{memory_order_release}, or |
5318 |
| -\tcode{memory_order_seq_cst}. |
| 5316 | +\tcode{memory_order::relaxed}, |
| 5317 | +\tcode{memory_order::release}, or |
| 5318 | +\tcode{memory_order::seq_cst}. |
5319 | 5319 |
|
5320 | 5320 | \pnum
|
5321 | 5321 | \effects
|
|
5328 | 5328 | \pnum
|
5329 | 5329 | \remarks
|
5330 | 5330 | Except for \tcode{store_max} and \tcode{store_min},
|
5331 |
| -for signed integer types the result is as if |
| 5331 | +for signed integer types, the result is as if |
5332 | 5332 | the value pointed to by \tcode{this} and parameters
|
5333 | 5333 | were converted to their corresponding unsigned types,
|
5334 | 5334 | the computation performed on those types, and
|
|
5634 | 5634 | \pnum
|
5635 | 5635 | \expects
|
5636 | 5636 | \tcode{order} is
|
5637 |
| -\tcode{memory_order_relaxed}, |
5638 |
| -\tcode{memory_order_release}, or |
5639 |
| -\tcode{memory_order_seq_cst}. |
| 5637 | +\tcode{memory_order::relaxed}, |
| 5638 | +\tcode{memory_order::release}, or |
| 5639 | +\tcode{memory_order::seq_cst}. |
5640 | 5640 |
|
5641 | 5641 | \pnum
|
5642 | 5642 | \effects
|
|
5687 | 5687 | \begin{itemize}
|
5688 | 5688 | \item
|
5689 | 5689 | If both arguments are NaN,
|
5690 |
| -an unspecified NaN value replaces the value pointed to by \tcode{this.} |
| 5690 | +an unspecified NaN value replaces the value pointed to by \tcode{this}. |
5691 | 5691 | \item
|
5692 | 5692 | If exactly one argument is a NaN,
|
5693 | 5693 | either the other argument or an unspecified NaN value replaces
|
5694 |
| -the value pointed to by \tcode{this}, it is unspecified which. |
| 5694 | +the value pointed to by \tcode{this}; |
| 5695 | +it is unspecified which. |
5695 | 5696 | \item
|
5696 | 5697 | If the arguments are differently signed zeros,
|
5697 | 5698 | which of these values replaces the value pointed to by \tcode{this} is unspecified.
|
|
0 commit comments