shared(int) obj = 3; assert(atomic_load_explicit_impl(&obj, memory_order.memory_order_seq_cst) == 3);
See Implementation