Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::mdspan<T,Extents,LayoutPolicy,AccessorPolicy>::operator=

      From cppreference.com
      <cpp‎ |container‎ |mdspan
       
       
       
       
      Defined in header<mdspan>
      constexpr mdspan& operator=(const mdspan& rhs)=default;
      (1)(since C++23)
      constexpr mdspan& operator=( mdspan&& rhs)=default;
      (2)(since C++23)

      Assignsrhs to*this with

      1)defaulted copy assignment operator,
      2)defaulted move assignment operator.

      Contents

      [edit]Parameters

      other - another mdspan to copy or move from

      [edit]Return value

      *this

      [edit]Example

      This section is incomplete
      Reason: no example

      [edit]See also

      This section is incomplete
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/container/mdspan/operator%3D&oldid=152286"

      [8]ページ先頭

      ©2009-2025 Movatter.jp