Spec-Zone.ru › C++

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

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)

Assigns rhs to *this with

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

Parameters

other - another mdspan to copy or move from

Return value

*this

Example

See also

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/cpp/container/mdspan/operator%3D

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API