std::span<T,Extent>::operator= (3) - Linux Manuals
std::span<T,Extent>::operator=: std::span<T,Extent>::operator=
Command to display std::span<T,Extent>::operator=
manual in Linux: $ man 3 std::span<T,Extent>::operator=
NAME
std::span<T,Extent>::operator= - std::span<T,Extent>::operator=
Synopsis
constexpr span& operator=( const span& other ) noexcept = default;
Assigns other to *this. This defaulted assignment operator performs a shallow copy of the data pointer and the size, i.e., after a call to this function, data() == other.data() and size() == other.size().
Parameters
other - another span to copy from
Return value
*this.
See also
constructs a span
constructor (public member function)
returns a pointer to the beginning of the sequence of elements
data (public member function)
returns the number of elements in the sequence
size (public member function)
Pages related to std::span<T,Extent>::operator=
- std::span<T,Extent>::operator[] (3) - std::span<T,Extent>::operator[]
- std::span<T,Extent>::back (3) - std::span<T,Extent>::back
- std::span<T,Extent>::begin,std::span<T,Extent>::cbegin (3) - std::span<T,Extent>::begin,std::span<T,Extent>::cbegin
- std::span<T,Extent>::data (3) - std::span<T,Extent>::data
- std::span<T,Extent>::empty (3) - std::span<T,Extent>::empty
- std::span<T,Extent>::end,std::span<T,Extent>::cend (3) - std::span<T,Extent>::end,std::span<T,Extent>::cend
- std::span<T,Extent>::first (3) - std::span<T,Extent>::first
- std::span<T,Extent>::front (3) - std::span<T,Extent>::front
- std::span<T,Extent>::last (3) - std::span<T,Extent>::last
- std::span<T,Extent>::rbegin,std::span<T,Extent>::crbegin (3) - std::span<T,Extent>::rbegin,std::span<T,Extent>::crbegin
- std::span<T,Extent>::rend,std::span<T,Extent>::crend (3) - std::span<T,Extent>::rend,std::span<T,Extent>::crend
- std::span<T,Extent>::size (3) - std::span<T,Extent>::size
- std::span<T,Extent>::size_bytes (3) - std::span<T,Extent>::size_bytes
- std::span<T,Extent>::span (3) - std::span<T,Extent>::span
- std::span<T,Extent>::subspan (3) - std::span<T,Extent>::subspan
- std::span (3) - std::span