1 #ifndef DASH__VIEW__INDEX_RANGE_H__INCLUDED 2 #define DASH__VIEW__INDEX_RANGE_H__INCLUDED 4 #include <dash/Types.h> 5 #include <dash/Range.h> 21 std::array< IndexRange<1, IndexType>, NDim > _ranges;
25 constexpr self_t sub(IndexType
first, IndexType last)
const {
46 template <
typename RangeT>
47 explicit constexpr IndexRange(RangeT range)
55 #endif // DASH__VIEW__INDEX_RANGE_H__INCLUDED constexpr auto end(RangeType &&range) -> decltype(std::forward< RangeType >(range).end())
This class is a simple memory pool which holds allocates elements of size ValueType.
constexpr auto begin(RangeType &&range) -> decltype(std::forward< RangeType >(range).begin())
int dim_t
Scalar type for a dimension value, with 0 indicating the first dimension.