std::atomic_ref<T>::is_always_lock_free - cppreference.com

From cppreference.com

staticconstexprboolis_always_lock_free=/*implementation-defined*/;(since C++20)Equals true if the operations on this atomic_ref type is always lock-free and false if it is never or sometimes lock-free.

The value of this constant is consistent with the result of member function is_lock_free.

See also