Documentation Home >> Headers >> <atomic> Header >> std::atomic >> specializations >> std::atomic<integral-type> >> std::atomic<integral-type>::is_lock_free member function

Determine if operations on *this are lock free.

bool is_lock_free() const volatile;

Returns:

true if operations on *this are lock free, false otherwise.

Throws:

Nothing.

Header

#include <atomic>

See Also