std::atomic::atomic
From cppreference.com
(since C++11) | ||
bool is_lock_free() const; |
||
bool is_lock_free() const volatile; |
||
Checks whether the atomic operations on all objects of this type are lock-free.
Contents |
[edit] Parameters
(none)
[edit] Return value
true if the atomic operations on the objects of this type are lock-free, false otherwise.
[edit] Exceptions
noexcept specification:
noexcept
[edit] See also
(C++11) |
checks if the atomic type's operations are lock-free (function template) |