tetl 0.1.0
Embedded Template Library
|
#include <layout_transpose.hpp>
Public Types | |
using | extents_type = Extents |
using | layout_type = layout_transpose |
using | size_type = typename extents_type::size_type |
Public Member Functions | |
constexpr | mapping (nested_mapping_t const &map) |
constexpr auto | extents () const noexcept(noexcept(_nestedMapping.extents())) -> extents_type |
constexpr auto | is_contiguous () const noexcept(noexcept(_nestedMapping.is_contiguous())) -> bool |
constexpr auto | is_strided () const noexcept(noexcept(_nestedMapping.is_strided())) -> bool |
constexpr auto | is_unique () const noexcept(noexcept(_nestedMapping.is_unique())) -> bool |
constexpr auto | nested_mapping () const -> nested_mapping_t |
template<typename IndexType , typename... Indices> | |
constexpr auto | operator() (Indices... rest, IndexType i, IndexType j) const noexcept(noexcept(_nestedMapping(rest..., j, i))) -> typename Extents::size_type |
constexpr auto | required_span_size () const noexcept(noexcept(_nestedMapping.required_span_size())) |
constexpr auto | stride (size_t r) const noexcept(noexcept(_nestedMapping.stride(r))) -> size_type requires(is_always_strided()) |
Static Public Member Functions | |
static constexpr auto | is_always_contiguous () -> bool |
static constexpr auto | is_always_strided () -> bool |
static constexpr auto | is_always_unique () -> bool |
Friends | |
template<typename OtherExtents > requires (Extents::rank() == OtherExtents::rank()) | |
constexpr auto | operator== (mapping const &lhs, mapping< OtherExtents > const &rhs) noexcept -> bool |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
friend |