tuple_utils.hpp
Functions to simplify the use of std::tuple Status: RELEASE.
This file is part of Empirical, https://github.com/devosoft/Empirical Copyright (C) 2016-2021 Michigan State University MIT Software license; see doc/LICENSE.md
Defines
-
INCLUDE_EMP_DATASTRUCTS_TUPLE_UTILS_HPP_GUARD
Functions
-
template<typename TUPLE_T>
inline constexpr int tuple_size() Quick way to calculate tuple size.
-
template<typename ...Ts, int... Ps>
auto shuffle_tuple(const std::tuple<Ts...> &tup, ValPack<Ps...>) Reorganize the entries in tuple; the provided int pack must specify the new ordering.