itertools::product_range
#include <itertools.hpp>
Synopsis
template<typename Is, typename EnableIf = std::enable_if_t<(std::is_integral_v<Is>and…),int>auto product_range (Is… is) template<typename Is, typename EnableIf = std::enable_if_t<(std::is_integral_v<Is>and…),int>auto product_range (std::tuple<Is…> const & idx_tpl) template<typename I, size_t N, typename EnableIf = std::enable_if_t<std::is_integral_v<I>,int>auto product_range (std::array<I, N> const & idx_arr)
Documentation
Template parameters
Is Integer types.
I Integer type.
N Number of elements in the array.
Parameters
is Last values of the integer ranges (excluded).
idx_tpl Tuple containing the excluded last values of the integer ranges.
idx_arr Array containing the excluded last values of the integer ranges.
Returns
Product (itertools::multiplied) range of integer ranges. See itertools::product and itertools::range.