#include <span.h>
Public Member Functions | |
constexpr reference | at (size_type i) const |
constexpr reference | back () const noexcept |
constexpr iterator | begin () const noexcept |
constexpr const_iterator | cbegin () const noexcept |
constexpr const_iterator | cend () const noexcept |
constexpr const_reverse_iterator | crbegin () const noexcept |
constexpr const_reverse_iterator | crend () const noexcept |
constexpr pointer | data () const noexcept |
constexpr bool | empty () const noexcept |
constexpr iterator | end () const noexcept |
constexpr Span | first (size_type len) const |
constexpr reference | front () const noexcept |
constexpr Span | last (size_type len) const |
constexpr size_type | length () const noexcept |
constexpr reference | operator[] (size_type i) const noexcept |
constexpr reverse_iterator | rbegin () const noexcept |
void | remove_prefix (size_type n) noexcept |
void | remove_suffix (size_type n) noexcept |
constexpr reverse_iterator | rend () const noexcept |
constexpr size_type | size () const noexcept |
constexpr | Span () noexcept |
constexpr | Span (pointer array, size_type length) noexcept |
template<size_t N> | |
constexpr | Span (T(&a)[N]) noexcept |
template<typename V , typename = EnableIfConvertibleFrom<V>, typename = EnableIfMutableView<V>> | |
Span (V &v) noexcept | |
template<typename V , typename = EnableIfConvertibleFrom<V>, typename = EnableIfConstView<V>> | |
constexpr | Span (const V &v) noexcept |
template<typename LazyT = T, typename = EnableIfConstView<LazyT>> | |
Span (std::initializer_list< value_type > v) noexcept | |
constexpr Span | subspan (size_type pos=0, size_type len=npos) const |
Static Public Attributes | |
static const size_type | npos = ~(size_type(0)) |
Private Attributes | |
size_type | len_ |
pointer | ptr_ |
Friends | |
template<typename H > | |
H | AbslHashValue (H h, Span v) |
constexpr absl::Span< T >::Span | ( | ) | [inline] |
constexpr absl::Span< T >::Span | ( | pointer | array, |
size_type | length | ||
) | [inline] |
absl::Span< T >::Span | ( | V & | v | ) | [inline, explicit] |
constexpr absl::Span< T >::Span | ( | const V & | v | ) | [inline] |
absl::Span< T >::Span | ( | std::initializer_list< value_type > | v | ) | [inline] |
constexpr reference absl::Span< T >::at | ( | size_type | i | ) | const [inline] |
constexpr reference absl::Span< T >::back | ( | ) | const [inline] |
constexpr iterator absl::Span< T >::begin | ( | ) | const [inline] |
constexpr const_iterator absl::Span< T >::cbegin | ( | ) | const [inline] |
constexpr const_iterator absl::Span< T >::cend | ( | ) | const [inline] |
constexpr const_reverse_iterator absl::Span< T >::crbegin | ( | ) | const [inline] |
constexpr const_reverse_iterator absl::Span< T >::crend | ( | ) | const [inline] |
constexpr pointer absl::Span< T >::data | ( | ) | const [inline] |
constexpr bool absl::Span< T >::empty | ( | ) | const [inline] |
constexpr iterator absl::Span< T >::end | ( | ) | const [inline] |
constexpr Span absl::Span< T >::first | ( | size_type | len | ) | const [inline] |
constexpr reference absl::Span< T >::front | ( | ) | const [inline] |
constexpr Span absl::Span< T >::last | ( | size_type | len | ) | const [inline] |
constexpr size_type absl::Span< T >::length | ( | ) | const [inline] |
constexpr reference absl::Span< T >::operator[] | ( | size_type | i | ) | const [inline] |
constexpr reverse_iterator absl::Span< T >::rbegin | ( | ) | const [inline] |
void absl::Span< T >::remove_prefix | ( | size_type | n | ) | [inline] |
void absl::Span< T >::remove_suffix | ( | size_type | n | ) | [inline] |
constexpr reverse_iterator absl::Span< T >::rend | ( | ) | const [inline] |
constexpr size_type absl::Span< T >::size | ( | ) | const [inline] |
constexpr Span absl::Span< T >::subspan | ( | size_type | pos = 0 , |
size_type | len = npos |
||
) | const [inline] |
size_type absl::Span< T >::len_ [private] |
const Span< T >::size_type absl::Span< T >::npos = ~(size_type(0)) [static] |
pointer absl::Span< T >::ptr_ [private] |