libycxx

constructor · 7 overloads

std::layout_right::mapping::mapping

Header
<mdspan>
Scope
std::layout_right::mapping
cppreference
std::layout_right nearest page

Constructors

Overloads

  1. constexpr mapping() noexcept = default;
    (1)
  2. constexpr mapping(const mapping& other) noexcept = default;
    (2)
  3. template<class OtherExtents>
      requires is_constructible_v<extents_type, OtherExtents>
    explicit(!is_convertible_v<OtherExtents, extents_type>) constexpr mapping(
        const mapping<OtherExtents>& other) noexcept;
    (3)
  4. constexpr mapping(const extents_type& e) noexcept;
    (4)
  5. template<class LayoutRightPaddedMapping>
      requires (md-right-padded-mapping<LayoutRightPaddedMapping> &&
                 is_constructible_v<extents_type, typename LayoutRightPaddedMapping::extents_type>)
    explicit(!is_convertible_v<typename LayoutRightPaddedMapping::extents_type, extents_type>) constexpr mapping(
        const LayoutRightPaddedMapping& other) noexcept;
    (5)
  6. template<class OtherExtents>
      requires (extents_type::rank() <= 1 && is_constructible_v<extents_type, OtherExtents>)
    explicit(!is_convertible_v<OtherExtents, extents_type>) constexpr mapping(
        const layout_left::mapping<OtherExtents>& other) noexcept;
    (6)
  7. template<class OtherExtents>
      requires is_constructible_v<extents_type, OtherExtents>
    explicit(!(
        extents_type::rank() == 0 && is_convertible_v<OtherExtents, extents_type>)) constexpr mapping(const layout_stride::mapping<OtherExtents>& other) noexcept;
    (7)