std::experimental::atomic_weak_ptr<T>::is_lock_free

From cppreference.com
 
 
Technical specifications
Filesystem library (filesystem TS)
Library fundamentals (library fundamentals TS)
Library fundamentals 2 (library fundamentals 2 TS)
Extensions for parallelism (parallelism TS)
Extensions for parallelism 2 (parallelism TS v2)
Extensions for concurrency (concurrency TS)
Concepts (concepts TS)
Ranges (ranges TS)
Special mathematical functions (special math 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)