std::span<T,Extent>::last (3) - Linux Manuals
std::span<T,Extent>::last: std::span<T,Extent>::last
Command to display std::span<T,Extent>::last
manual in Linux: $ man 3 std::span<T,Extent>::last
NAME
std::span<T,Extent>::last - std::span<T,Extent>::last
Synopsis
template< std::size_t Count >
constexpr std::span<element_type, Count> last() const;
constexpr std::span<element_type, std::dynamic_extent> last( std::size_t Count ) const;
Obtains a span that is a view over the last Count elements of this span. The behavior is undefined if Count > size().
Return value
A span r that is a view over the last Count elements of *this, such that r.data() == this->data() + (this->size() - Count) && r.size() == Count.
See also
obtains a subspan consisting of the first N elements of the sequence
first (public member function)
obtains a subspan
subspan (public member function)
Pages related to std::span<T,Extent>::last
- 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>::operator= (3) - std::span<T,Extent>::operator=
- std::span<T,Extent>::operator[] (3) - std::span<T,Extent>::operator[]
- 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