Documentation Home >> Headers >> <atomic> Header >> std::atomic >> specializations >> std::atomic<T*> >> std::atomic<T*>::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