34 vMin = std::min(vInitial, v1);
35 }
while (!std::atomic_compare_exchange_strong(&v0, &vInitial, vMin));
46 vMax = std::max(vInitial, v1);
47 }
while (!std::atomic_compare_exchange_strong(&v0, &vInitial, vMax));
T AtomicMax(std::atomic< T > &v0, T const &v1)
T AtomicMin(std::atomic< T > &v0, T const &v1)