diff options
Diffstat (limited to 'boost/atomic/detail/ops_cas_based.hpp')
-rw-r--r-- | boost/atomic/detail/ops_cas_based.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/boost/atomic/detail/ops_cas_based.hpp b/boost/atomic/detail/ops_cas_based.hpp index 504cedb70f..e2e18aa384 100644 --- a/boost/atomic/detail/ops_cas_based.hpp +++ b/boost/atomic/detail/ops_cas_based.hpp @@ -47,6 +47,8 @@ struct cas_based_operations : { typedef typename Base::storage_type storage_type; + static BOOST_CONSTEXPR_OR_CONST bool full_cas_based = true; + static BOOST_FORCEINLINE storage_type fetch_add(storage_type volatile& storage, storage_type v, memory_order order) BOOST_NOEXCEPT { storage_type old_val; |