std::atomic_ref<T>::notify_all
Min standard notice:
Performs atomic notifying operations.
# Declarations
void notify_all() const noexcept;
(constexpr since C++26)
# Notes
This form of change-detection is often more efficient than simple polling or pure spinlocks.
# Example
This section is incompleteReason: no example
# Defect reports
| DR | Applied to | Behavior as published | Correct behavior |
|---|---|---|---|
| LWG 3508(P3323R1) | C++20 | notify_all was meaningless for const T | constrained to accept only non-const T |