tetl 0.1.0
Embedded Template Library
|
#include <extents.hpp>
Public Types | |
using | index_type = IndexType |
using | rank_type = etl::size_t |
using | size_type = make_unsigned_t< IndexType > |
Public Member Functions | |
constexpr | extents () noexcept=default |
template<typename OtherIndexType , etl::size_t... OtherExtents> requires ( sizeof...(OtherExtents) == rank() and ((OtherExtents == dynamic_extent or Extents == dynamic_extent or OtherExtents == Extents) and ...) ) | |
explicit (((Extents !=dynamic_extent and OtherExtents==dynamic_extent) or ...) or(numeric_limits< IndexType >::max()< numeric_limits< OtherIndexType >::max())) const expr extents(extents< OtherIndexType | |
constexpr auto | extent (rank_type i) const noexcept -> index_type |
Static Public Member Functions | |
static constexpr auto | rank () noexcept -> rank_type |
static constexpr auto | rank_dynamic () noexcept -> rank_type |
static constexpr auto | static_extent (rank_type i) noexcept -> etl::size_t |
Public Attributes | |
OtherExtents const &e | noexcept |
explicit | ( | ((Extents !=dynamic_extent and OtherExtents==dynamic_extent) or ...) or(numeric_limits< IndexType >::max()< numeric_limits< OtherIndexType >::max()) | ) | const |
|
inlineconstexprnoexcept |
|
inlinestaticconstexprnoexcept |