OpenKalman
Classes | Public Types | Public Member Functions | Static Public Member Functions | Friends | List of all members
std::experimental::layout_left::mapping< Extents > Class Template Reference

Public Types

using extents_type = Extents
 
using index_type = typename extents_type::index_type
 
using size_type = typename extents_type::size_type
 
using rank_type = typename extents_type::rank_type
 
using layout_type = layout_left
 

Public Member Functions

MDSPAN_INLINE_FUNCTION_DEFAULTED constexpr mapping (mapping const &) noexcept=default
 
_MDSPAN_HOST_DEVICE constexpr mapping (extents_type const &__exts) noexcept
 
 MDSPAN_TEMPLATE_REQUIRES (class OtherExtents,()) MDSPAN_CONDITIONAL_EXPLICIT((!is_convertible< OtherExtents
 
extents_type ::value MDSPAN_INLINE_FUNCTION _MDSPAN_CONSTEXPR_14 mapping (mapping< OtherExtents > const &other) noexcept
 
 MDSPAN_TEMPLATE_REQUIRES (class OtherExtents,(_MDSPAN_TRAIT(is_constructible, extents_type, OtherExtents) &&(extents_type::rank()<=1))) MDSPAN_CONDITIONAL_EXPLICIT((!is_convertible< OtherExtents
 
extents_type ::value MDSPAN_INLINE_FUNCTION _MDSPAN_CONSTEXPR_14 mapping (layout_right::mapping< OtherExtents > const &other) noexcept
 
 MDSPAN_TEMPLATE_REQUIRES (class OtherExtents,()) MDSPAN_CONDITIONAL_EXPLICIT((extents_type
 
MDSPAN_INLINE_FUNCTION_DEFAULTED _MDSPAN_CONSTEXPR_14_DEFAULTED mappingoperator= (mapping const &) noexcept=default
 
MDSPAN_INLINE_FUNCTION constexpr const extents_type & extents () const noexcept
 
MDSPAN_INLINE_FUNCTION constexpr index_type required_span_size () const noexcept
 
 MDSPAN_TEMPLATE_REQUIRES (class... Indices,((sizeof...(Indices)==extents_type::rank()) &&_MDSPAN_FOLD_AND((_MDSPAN_TRAIT(is_convertible, Indices, index_type) &&_MDSPAN_TRAIT(is_nothrow_constructible, index_type, Indices))))) _MDSPAN_HOST_DEVICE const expr index_type operator()(Indices... idxs) const noexcept
 
MDSPAN_INLINE_FUNCTION constexpr bool is_unique () const noexcept
 
MDSPAN_INLINE_FUNCTION constexpr bool is_exhaustive () const noexcept
 
MDSPAN_INLINE_FUNCTION constexpr bool is_strided () const noexcept
 
MDSPAN_INLINE_FUNCTION constexpr index_type stride (rank_type i) const noexcept
 
template<size_t N, class SizeType , size_t ... E, size_t ... Idx>
constexpr index_type __get_stride (std::experimental::extents< SizeType, E... >, integer_sequence< size_t, Idx... >) const
 
template<size_t N>
constexpr index_type __stride () const noexcept
 

Static Public Member Functions

static MDSPAN_INLINE_FUNCTION constexpr bool is_always_unique () noexcept
 
static MDSPAN_INLINE_FUNCTION constexpr bool is_always_exhaustive () noexcept
 
static MDSPAN_INLINE_FUNCTION constexpr bool is_always_strided () noexcept
 

Friends

template<class >
class mapping
 
template<class OtherExtents >
MDSPAN_INLINE_FUNCTION friend constexpr bool operator== (mapping const &lhs, mapping< OtherExtents > const &rhs) noexcept
 
template<class OtherExtents >
MDSPAN_INLINE_FUNCTION friend constexpr bool operator!= (mapping const &lhs, mapping< OtherExtents > const &rhs) noexcept
 

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