Iros
 
Loading...
Searching...
No Matches
di::vocab::Extents< T, extents > Class Template Reference

#include <di/vocab/md/extents.h>

Public Types

using SizeType = T
 
using RankType = size_t
 

Public Member Functions

constexpr Extents ()
 
template<typename OtherSizeType, size_t... other_extents>
requires (sizeof...(other_extents) == rank() && ((other_extents == dynamic_extent || extents == dynamic_extent || other_extents == extents) && ...))
constexpr explicit ((((extents !=dynamic_extent) &&(other_extents==dynamic_extent))||...)||math::to_unsigned(math::NumericLimits< SizeType >::max)< math::to_unsigned(math::NumericLimits< OtherSizeType >::max)) Extents(Extents< OtherSizeType
 

Static Public Member Functions

static constexpr auto static_extent (size_t index) -> size_t
 
static constexpr auto rank () -> size_t
 
static constexpr auto rank_dynamic () -> size_t
 

Public Attributes

constexpr other_extents const & other
 

Member Typedef Documentation

◆ RankType

template<concepts::Integer T, types::size_t... extents>
using di::vocab::Extents< T, extents >::RankType = size_t

◆ SizeType

template<concepts::Integer T, types::size_t... extents>
using di::vocab::Extents< T, extents >::SizeType = T

Constructor & Destructor Documentation

◆ Extents()

template<concepts::Integer T, types::size_t... extents>
di::vocab::Extents< T, extents >::Extents ( )
inlineconstexpr

Member Function Documentation

◆ explicit()

template<concepts::Integer T, types::size_t... extents>
template<typename OtherSizeType, size_t... other_extents>
requires (sizeof...(other_extents) == rank() && ((other_extents == dynamic_extent || extents == dynamic_extent || other_extents == extents) && ...))
di::vocab::Extents< T, extents >::explicit ( )
constexpr

◆ rank()

template<concepts::Integer T, types::size_t... extents>
static constexpr auto di::vocab::Extents< T, extents >::rank ( ) -> size_t
inlinestaticconstexpr

◆ rank_dynamic()

template<concepts::Integer T, types::size_t... extents>
static constexpr auto di::vocab::Extents< T, extents >::rank_dynamic ( ) -> size_t
inlinestaticconstexpr

◆ static_extent()

template<concepts::Integer T, types::size_t... extents>
static constexpr auto di::vocab::Extents< T, extents >::static_extent ( size_t index) -> size_t
inlinestaticconstexpr

Member Data Documentation

◆ other

template<concepts::Integer T, types::size_t... extents>
other_extents const& di::vocab::Extents< T, extents >::other

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