|
739 | 739 | memory_order = memory_order_seq_cst) const noexcept;
|
740 | 740 |
|
741 | 741 | void wait(T, memory_order = memory_order::seq_cst) const noexcept;
|
742 |
| - void notify_one() noexcept; |
743 |
| - void notify_all() noexcept; |
| 742 | + void notify_one() const noexcept; |
| 743 | + void notify_all() const noexcept; |
744 | 744 | };
|
745 | 745 | }
|
746 | 746 | \end{codeblock}
|
|
830 | 830 | \begin{itemdescr}
|
831 | 831 | \pnum
|
832 | 832 | \returns
|
833 |
| -\tcode{true} if the object's operations are lock-free, |
| 833 | +\tcode{true} if operations on all objects of the type \tcode{atomic_ref<T>} |
| 834 | +are lock-free, |
834 | 835 | \tcode{false} otherwise.
|
835 | 836 | \end{itemdescr}
|
836 | 837 |
|
|
1081 | 1082 |
|
1082 | 1083 | \indexlibrarymember{notify_one}{atomic_ref<T>}%
|
1083 | 1084 | \begin{itemdecl}
|
1084 |
| -void notify_one() noexcept; |
| 1085 | +void notify_one() const noexcept; |
1085 | 1086 | \end{itemdecl}
|
1086 | 1087 |
|
1087 | 1088 | \begin{itemdescr}
|
|
1099 | 1100 |
|
1100 | 1101 | \indexlibrarymember{notify_all}{atomic_ref<T>}%
|
1101 | 1102 | \begin{itemdecl}
|
1102 |
| -void notify_all() noexcept; |
| 1103 | +void notify_all() const noexcept; |
1103 | 1104 | \end{itemdecl}
|
1104 | 1105 |
|
1105 | 1106 | \begin{itemdescr}
|
|
1199 | 1200 | @\placeholdernc{integral}@ operator^=(@\placeholdernc{integral}@) const noexcept;
|
1200 | 1201 |
|
1201 | 1202 | void wait(@\placeholdernc{integral}@, memory_order = memory_order::seq_cst) const noexcept;
|
1202 |
| - void notify_one() noexcept; |
1203 |
| - void notify_all() noexcept; |
| 1203 | + void notify_one() const noexcept; |
| 1204 | + void notify_all() const noexcept; |
1204 | 1205 | };
|
1205 | 1206 | }
|
1206 | 1207 | \end{codeblock}
|
|
1297 | 1298 | atomic_ref& operator=(const atomic_ref&) = delete;
|
1298 | 1299 |
|
1299 | 1300 | void store(@\placeholdernc{floating-point}@, memory_order = memory_order_seq_cst) const noexcept;
|
1300 |
| - @\placeholder{floating-point}@ operator=(@\placeholder{floating-point}@) noexcept; |
| 1301 | + @\placeholder{floating-point}@ operator=(@\placeholder{floating-point}@) const noexcept; |
1301 | 1302 | @\placeholder{floating-point}@ load(memory_order = memory_order_seq_cst) const noexcept;
|
1302 | 1303 | operator @\placeholdernc{floating-point}@() const noexcept;
|
1303 | 1304 |
|
|
1321 | 1322 | @\placeholder{floating-point}@ operator-=(@\placeholder{floating-point}@) const noexcept;
|
1322 | 1323 |
|
1323 | 1324 | void wait(@\placeholdernc{floating-point}@, memory_order = memory_order::seq_cst) const noexcept;
|
1324 |
| - void notify_one() noexcept; |
1325 |
| - void notify_all() noexcept; |
| 1325 | + void notify_one() const noexcept; |
| 1326 | + void notify_all() const noexcept; |
1326 | 1327 | };
|
1327 | 1328 | }
|
1328 | 1329 | \end{codeblock}
|
|
1428 | 1429 | T* operator-=(difference_type) const noexcept;
|
1429 | 1430 |
|
1430 | 1431 | void wait(T*, memory_order = memory_order::seq_cst) const noexcept;
|
1431 |
| - void notify_one() noexcept; |
1432 |
| - void notify_all() noexcept; |
| 1432 | + void notify_one() const noexcept; |
| 1433 | + void notify_all() const noexcept; |
1433 | 1434 | };
|
1434 | 1435 | }
|
1435 | 1436 | \end{codeblock}
|
|
1492 | 1493 | \indexlibrarymember{operator++}{atomic_ref<T*>}%
|
1493 | 1494 | \indexlibrarymember{operator++}{atomic_ref<\placeholder{integral}>}%
|
1494 | 1495 | \begin{itemdecl}
|
1495 |
| -T* operator++(int) const noexcept; |
| 1496 | +value_type operator++(int) const noexcept; |
1496 | 1497 | \end{itemdecl}
|
1497 | 1498 |
|
1498 | 1499 | \begin{itemdescr}
|
|
1504 | 1505 | \indexlibrarymember{operator\dcr}{atomic_ref<T*>}%
|
1505 | 1506 | \indexlibrarymember{operator\dcr}{atomic_ref<\placeholder{integral}>}%
|
1506 | 1507 | \begin{itemdecl}
|
1507 |
| -T* operator--(int) const noexcept; |
| 1508 | +value_type operator--(int) const noexcept; |
1508 | 1509 | \end{itemdecl}
|
1509 | 1510 |
|
1510 | 1511 | \begin{itemdescr}
|
|
1516 | 1517 | \indexlibrarymember{operator++}{atomic_ref<T*>}%
|
1517 | 1518 | \indexlibrarymember{operator++}{atomic_ref<\placeholder{integral}>}%
|
1518 | 1519 | \begin{itemdecl}
|
1519 |
| -T* operator++() const noexcept; |
| 1520 | +value_type operator++() const noexcept; |
1520 | 1521 | \end{itemdecl}
|
1521 | 1522 |
|
1522 | 1523 | \begin{itemdescr}
|
|
1528 | 1529 | \indexlibrarymember{operator\dcr}{atomic_ref<T*>}%
|
1529 | 1530 | \indexlibrarymember{operator\dcr}{atomic_ref<\placeholder{integral}>}%
|
1530 | 1531 | \begin{itemdecl}
|
1531 |
| -T* operator--(int) const noexcept; |
| 1532 | +value_type operator--() const noexcept; |
1532 | 1533 | \end{itemdecl}
|
1533 | 1534 |
|
1534 | 1535 | \begin{itemdescr}
|
|
2608 | 2609 | \indexlibrarymember{operator++}{atomic<T*>}%
|
2609 | 2610 | \indexlibrarymember{operator++}{atomic<\placeholder{integral}>}%
|
2610 | 2611 | \begin{itemdecl}
|
2611 |
| -T operator++(int) volatile noexcept; |
2612 |
| -T operator++(int) noexcept; |
| 2612 | +value_type operator++(int) volatile noexcept; |
| 2613 | +value_type operator++(int) noexcept; |
2613 | 2614 | \end{itemdecl}
|
2614 | 2615 |
|
2615 | 2616 | \begin{itemdescr}
|
|
2621 | 2622 | \indexlibrarymember{operator\dcr}{atomic<T*>}%
|
2622 | 2623 | \indexlibrarymember{operator\dcr}{atomic<\placeholder{integral}>}%
|
2623 | 2624 | \begin{itemdecl}
|
2624 |
| -T operator--(int) volatile noexcept; |
2625 |
| -T operator--(int) noexcept; |
| 2625 | +value_type operator--(int) volatile noexcept; |
| 2626 | +value_type operator--(int) noexcept; |
2626 | 2627 | \end{itemdecl}
|
2627 | 2628 |
|
2628 | 2629 | \begin{itemdescr}
|
|
2634 | 2635 | \indexlibrarymember{operator++}{atomic<T*>}%
|
2635 | 2636 | \indexlibrarymember{operator++}{atomic<\placeholder{integral}>}%
|
2636 | 2637 | \begin{itemdecl}
|
2637 |
| -T operator++() volatile noexcept; |
2638 |
| -T operator++() noexcept; |
| 2638 | +value_type operator++() volatile noexcept; |
| 2639 | +value_type operator++() noexcept; |
2639 | 2640 | \end{itemdecl}
|
2640 | 2641 |
|
2641 | 2642 | \begin{itemdescr}
|
|
2647 | 2648 | \indexlibrarymember{operator\dcr}{atomic<T*>}%
|
2648 | 2649 | \indexlibrarymember{operator\dcr}{atomic<\placeholder{integral}>}%
|
2649 | 2650 | \begin{itemdecl}
|
2650 |
| -T operator--() volatile noexcept; |
2651 |
| -T operator--() noexcept; |
| 2651 | +value_type operator--() volatile noexcept; |
| 2652 | +value_type operator--() noexcept; |
2652 | 2653 | \end{itemdecl}
|
2653 | 2654 |
|
2654 | 2655 | \begin{itemdescr}
|
|
0 commit comments