libycxx

constructor · 7 overloads

std::layout_left::mapping::mapping

Header
<mdspan>
Scope
std::layout_left::mapping
cppreference
std::layout_left 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 LayoutLeftPaddedMapping>
      requires (md-left-padded-mapping<LayoutLeftPaddedMapping> &&
                 is_constructible_v<extents_type, typename LayoutLeftPaddedMapping::extents_type>)
    explicit(!is_convertible_v<typename LayoutLeftPaddedMapping::extents_type, extents_type>) constexpr mapping(
        const LayoutLeftPaddedMapping& 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_right::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)