std::experimental::atomic_shared_ptr<T>::is_lock_free

From cppreference.com
 
 
Technical specifications
Filesystem library (filesystem TS)
Library fundamentals (library fundamentals TS)
Library fundamentals 2 (library fundamentals TS v2)
Library fundamentals 3 (library fundamentals TS v3)
Extensions for parallelism (parallelism TS)
Extensions for parallelism 2 (parallelism TS v2)
Extensions for concurrency (concurrency TS)
Extensions for concurrency 2 (concurrency TS v2)
Concepts (concepts TS)
Ranges (ranges TS)
Reflection (reflection TS)
Mathematical special functions (special functions TR)
 
 
 
bool is_lock_free() const noexcept;

Checks whether the atomic operations on all objects of this type are lock-free.

Parameters

(none)

Return value

true if the atomic operations on the objects of this type are lock-free, false otherwise.

See also

specializes atomic operations for std::shared_ptr
(function template)