Loading...
Searching...
No Matches
tf::IndexRangeMDLike Concept Reference

concept to check if a type is a tf::IndexRange<T, N> with rank > 1 More...

#include <taskflow/utility/iterator.hpp>

Concept definition

template<typename R>
concept to check if a type is a tf::IndexRange<T, N> with rank > 1
Definition iterator.hpp:740
constexpr bool is_md_index_range_v
base type trait to detect if a type is a multi-dimensional IndexRange (rank > 1)
Definition iterator.hpp:717

Detailed Description

concept to check if a type is a tf::IndexRange<T, N> with rank > 1

Template Parameters
Rthe range type to evaluate
static_assert(!tf::IndexRangeMDLike<tf::IndexRange<int>>); // false, rank == 1
static_assert(!tf::IndexRangeMDLike<tf::IndexRange<int, 1>>); // false, rank == 1