{ return _M_b.is_lock_free(); }
#if __cplusplus >= 201703L
- static constexpr bool is_always_lock_free = ATOMIC_POINTER_LOCK_FREE == 2;
+ static constexpr bool is_always_lock_free
+ = ATOMIC_POINTER_LOCK_FREE == 2;
#endif
void
notify_all() const noexcept
{ _M_b.notify_all(); }
#endif // __cpp_lib_atomic_wait
+
__pointer_type
fetch_add(ptrdiff_t __d,
memory_order __m = memory_order_seq_cst) noexcept
using __base_type::operator=;
#if __cplusplus >= 201703L
- static constexpr bool is_always_lock_free = ATOMIC_CHAR_LOCK_FREE == 2;
+ static constexpr bool is_always_lock_free = ATOMIC_CHAR_LOCK_FREE == 2;
#endif
};
using __base_type::operator=;
#if __cplusplus >= 201703L
- static constexpr bool is_always_lock_free = ATOMIC_CHAR_LOCK_FREE == 2;
+ static constexpr bool is_always_lock_free = ATOMIC_CHAR_LOCK_FREE == 2;
#endif
};
using __base_type::operator=;
#if __cplusplus >= 201703L
- static constexpr bool is_always_lock_free = ATOMIC_CHAR_LOCK_FREE == 2;
+ static constexpr bool is_always_lock_free = ATOMIC_CHAR_LOCK_FREE == 2;
#endif
};
using __base_type::operator=;
#if __cplusplus >= 201703L
- static constexpr bool is_always_lock_free = ATOMIC_SHORT_LOCK_FREE == 2;
+ static constexpr bool is_always_lock_free = ATOMIC_SHORT_LOCK_FREE == 2;
#endif
};
using __base_type::operator=;
#if __cplusplus >= 201703L
- static constexpr bool is_always_lock_free = ATOMIC_SHORT_LOCK_FREE == 2;
+ static constexpr bool is_always_lock_free = ATOMIC_SHORT_LOCK_FREE == 2;
#endif
};
using __base_type::operator=;
#if __cplusplus >= 201703L
- static constexpr bool is_always_lock_free = ATOMIC_INT_LOCK_FREE == 2;
+ static constexpr bool is_always_lock_free = ATOMIC_INT_LOCK_FREE == 2;
#endif
};
using __base_type::operator=;
#if __cplusplus >= 201703L
- static constexpr bool is_always_lock_free = ATOMIC_INT_LOCK_FREE == 2;
+ static constexpr bool is_always_lock_free = ATOMIC_INT_LOCK_FREE == 2;
#endif
};
using __base_type::operator=;
#if __cplusplus >= 201703L
- static constexpr bool is_always_lock_free = ATOMIC_LONG_LOCK_FREE == 2;
+ static constexpr bool is_always_lock_free = ATOMIC_LONG_LOCK_FREE == 2;
#endif
};
using __base_type::operator=;
#if __cplusplus >= 201703L
- static constexpr bool is_always_lock_free = ATOMIC_LONG_LOCK_FREE == 2;
+ static constexpr bool is_always_lock_free = ATOMIC_LONG_LOCK_FREE == 2;
#endif
};
using __base_type::operator=;
#if __cplusplus >= 201703L
- static constexpr bool is_always_lock_free = ATOMIC_LLONG_LOCK_FREE == 2;
+ static constexpr bool is_always_lock_free = ATOMIC_LLONG_LOCK_FREE == 2;
#endif
};
using __base_type::operator=;
#if __cplusplus >= 201703L
- static constexpr bool is_always_lock_free = ATOMIC_LLONG_LOCK_FREE == 2;
+ static constexpr bool is_always_lock_free = ATOMIC_LLONG_LOCK_FREE == 2;
#endif
};
using __base_type::operator=;
#if __cplusplus >= 201703L
- static constexpr bool is_always_lock_free = ATOMIC_WCHAR_T_LOCK_FREE == 2;
+ static constexpr bool is_always_lock_free = ATOMIC_WCHAR_T_LOCK_FREE == 2;
#endif
};
using __base_type::operator=;
#if __cplusplus > 201402L
- static constexpr bool is_always_lock_free = ATOMIC_CHAR8_T_LOCK_FREE == 2;
+ static constexpr bool is_always_lock_free
+ = ATOMIC_CHAR8_T_LOCK_FREE == 2;
#endif
};
#endif
using __base_type::operator=;
#if __cplusplus >= 201703L
- static constexpr bool is_always_lock_free = ATOMIC_CHAR16_T_LOCK_FREE == 2;
+ static constexpr bool is_always_lock_free
+ = ATOMIC_CHAR16_T_LOCK_FREE == 2;
#endif
};
using __base_type::operator=;
#if __cplusplus >= 201703L
- static constexpr bool is_always_lock_free = ATOMIC_CHAR32_T_LOCK_FREE == 2;
+ static constexpr bool is_always_lock_free
+ = ATOMIC_CHAR32_T_LOCK_FREE == 2;
#endif
};