Back to Taskflow

Taskflow: A General

docs/concepttf_1_1IndexRangesLike.html

4.1.01.7 KB
Original Source

| | 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>

Concept definition

template<typename R>

concept tf::IndexRangesLike = is_index_ranges_v<std::decay_t<std::unwrap_ref_decay_t<R>>>

tf::IndexRangesLike

concept to check if a type is a tf::IndexRanges, regardless of dimensionality

Definition iterator.hpp:1004

tf::is_index_ranges_v

constexpr bool is_index_ranges_v

base type trait to detect if a type is a tf::IndexRanges

Definition iterator.hpp:982

Detailed Description

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.