hpx/util/get_and_reset_value.hpp

See Public API for a list of names and headers that are part of the public HPX API.

namespace hpx
namespace util

Functions

std::uint64_t get_and_reset_value(std::uint64_t &value, bool reset)
std::int64_t get_and_reset_value(std::int64_t &value, bool reset)
template<typename T>
T get_and_reset_value(std::atomic<T> &value, bool reset)
std::vector<std::int64_t> get_and_reset_value(std::vector<std::int64_t> &value, bool reset)