Is there a standard C++ equivalent for __memory_barrier, the "compiler fence" found in Intel's C++ compiler?
I'm under the impression that calling atomic_thread_fence with memory_order=memory_order_acq_rel should do the trick, is this the case?