using std::atomic_fetch_sub_explicit;
using std::atomic_fetch_or;
using std::atomic_fetch_or_explicit;
+using std::atomic_fetch_xor;
+using std::atomic_fetch_xor_explicit;
using std::atomic_fetch_and;
using std::atomic_fetch_and_explicit;
using std::atomic_flag_test_and_set;
::atomic_compare_exchange_weak_explicit(i, e, 3,
memory_order_acq_rel,
memory_order_relaxed);
+
+ ::atomic_fetch_add(i, 1);
+ ::atomic_fetch_add_explicit(i, 1, memory_order_relaxed);
+ ::atomic_fetch_sub(i, 1);
+ ::atomic_fetch_sub_explicit(i, 1, memory_order_relaxed);
+ ::atomic_fetch_and(i, 1);
+ ::atomic_fetch_and_explicit(i, 1, memory_order_relaxed);
+ ::atomic_fetch_or(i, 1);
+ ::atomic_fetch_or_explicit(i, 1, memory_order_relaxed);
+ ::atomic_fetch_xor(i, 1);
+ ::atomic_fetch_xor_explicit(i, 1, memory_order_relaxed);
} );
static_assert( requires (::atomic_flag* f) {