docs/concepttf_1_1IndexRangesLike.html
| | Taskflow: A General-purpose Task-parallel Programming System |
Loading...
Searching...
No Matches
tf::IndexRangesLike Concept Reference
concept to check if a type is a tf::IndexRanges, regardless of dimensionality More...
#include <taskflow/utility/iterator.hpp>
template<typename R>
concept tf::IndexRangesLike = is_index_ranges_v<std::decay_t<std::unwrap_ref_decay_t<R>>>
concept to check if a type is a tf::IndexRanges, regardless of dimensionality
Definition iterator.hpp:1004
constexpr bool is_index_ranges_v
base type trait to detect if a type is a tf::IndexRanges
Definition iterator.hpp:982
concept to check if a type is a tf::IndexRanges, regardless of dimensionality
Template Parameters
| R | the range type to evaluate |
This concept strips cv-qualifiers and references (using std::unwrap_ref_decay_t) before evaluating, allowing const and reference (including std::reference_wrapper) types to satisfy the constraint.