Functions for iterating over a constexpr range of integers.
Definition in file constexpr_indices.hpp.
Go to the source code of this file.
#include <cstddef>
#include <type_traits>
#include <utility>
Namespaces | |
namespace | utils |
Utilities. | |
Functions | |
template<std::size_t Count, typename Func > | |
void | utils::ForEachIndex (Func func) |
template<std::size_t Count, typename Func > | |
void | utils::WithConstexprIndex (std::size_t runtime_index, Func func) |
Calls func with runtime_index wrapped in std::integral_constant . | |