wait(value_type __old, memory_order __m = memory_order_seq_cst) const noexcept
{
// TODO remove when volatile is supported
- static_assert(!is_volatile_v<_Tp>, "atomics waits on volatile are not supported");
+ static_assert(!is_volatile_v<_Tp>,
+ "atomic waits on volatile are not supported");
__atomic_impl::wait(_M_ptr, __old, __m);
}
#endif // __glibcxx_atomic_wait
notify_one() const noexcept
{
// TODO remove when volatile is supported
- static_assert(!is_volatile_v<_Tp>, "atomics waits on volatile are not supported");
+ static_assert(!is_volatile_v<_Tp>,
+ "atomic waits on volatile are not supported");
__atomic_impl::notify_one(this->_M_ptr);
}
notify_all() const noexcept
{
// TODO remove when volatile is supported
- static_assert(!is_volatile_v<_Tp>, "atomics waits on volatile are not supported");
+ static_assert(!is_volatile_v<_Tp>,
+ "atomic waits on volatile are not supported");
__atomic_impl::notify_all(this->_M_ptr);
}
#endif // __glibcxx_atomic_wait