A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://en.cppreference.com/w/cpp/atomic/atomic/is_always_lock_free.html below:

std::atomic<T>::is_always_lock_free - cppreference.com

static constexpr bool is_always_lock_free = /*implementation-defined*/;

(since C++17)

Equals true if this atomic type is always lock-free and false if it is never or sometimes lock-free.

The value of this constant is consistent with both the macro ATOMIC_xxx_LOCK_FREE, where defined, with the member function is_lock_free and non-member function std::atomic_is_lock_free.

[edit] Notes

There is no non-member function equivalent of this static member constant because non-member functions take pointers to atomic types, and therefore aren't as useful in constant expressions.

[edit] See also

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4