Namespaces
Variants
Views
Actions

std::atomic::atomic

From cppreference.com
< cpp‎ | atomic‎ | atomic
Revision as of 16:32, 1 July 2013 by P12bot (Talk | contribs)

 
 
 
 
bool is_lock_free() const;
(since C++11)
bool is_lock_free() const volatile;
(since C++11)

Checks whether the atomic operations on the object are lock-free.

Contents

Parameters

(none)

Return value

true if the atomic operations on the object are lock-free, false otherwise.

Exceptions

noexcept specification:  
noexcept
  

See also

checks if the atomic type's operations are lock-free
(function template) [edit]