libycxx

function template · 3 overloads

std::atomic_fetch_max

Header
<atomic>
Scope
std

Overloads

  1. template<class T>
    constexpr T atomic_fetch_max(atomic<T>* object, T operand) noexcept;
    (1)
  2. template<class T>
      requires atomic<T>::is_always_lock_free
    T atomic_fetch_max(volatile atomic<T>* object, T operand) noexcept;
    (2)
  3. template<class T>
      requires (!atomic<T>::is_always_lock_free)
    [[deprecated(
        "a volatile atomic operation on a type that is not always lock-free is deprecated ([depr.atomics.volatile])")]] T atomic_fetch_max(volatile atomic<T>* object, T operand) noexcept;
    (3)