Distributed Ranges
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
dr::index< T > Class Template Reference

Public Types

using index_type = T
 
using first_type = T
 
using second_type = T
 

Public Member Functions

constexpr index_type operator[] (index_type dim) const noexcept
 
template<std::integral U>
requires (std::numeric_limits<U>::max() >= std::numeric_limits<T>::max())
constexpr operator index< U > () const noexcept
 
template<std::integral U>
requires (std::numeric_limits<U>::max() < std::numeric_limits<T>::max())
constexpr operator index< U > () const noexcept
 
constexpr index (index_type first, index_type second)
 
template<TupleLike< T, T > Tuple>
constexpr index (Tuple tuple)
 
template<std::integral U>
constexpr index (std::initializer_list< U > tuple)
 
constexpr bool operator== (const index &) const noexcept=default
 
constexpr bool operator< (const index &other) const noexcept
 
template<std::size_t Index>
requires (Index <= 1)
constexpr T get () const noexcept
 
 index (const index &)=default
 
indexoperator= (const index &)=default
 
 index (index &&)=default
 
indexoperator= (index &&)=default
 

Public Attributes

index_type first
 
index_type second
 

The documentation for this class was generated from the following file: