libycxx

constructor · 3 overloads

std::aligned_accessor::aligned_accessor

Header
<mdspan>
Scope
std::aligned_accessor
cppreference
<mdspan> nearest page

Constructors

Overloads

  1. constexpr aligned_accessor() noexcept = default;
    (1)
  2. template<class OtherElementType>
      requires is_convertible_v<OtherElementType (*)[], element_type (*)[]>
    explicit constexpr aligned_accessor(default_accessor<OtherElementType> value) noexcept;
    (2)
  3. template<class OtherElementType, size_t OtherByteAlignment>
      requires (is_convertible_v<OtherElementType (*)[], element_type (*)[]> && OtherByteAlignment >= byte_alignment)
    constexpr aligned_accessor(
        aligned_accessor<OtherElementType, OtherByteAlignment> other) noexcept;
    (3)