#include <kanzi/core/cpp/span.hpp>
Public Types | |
using | const_iterator = const_pointer |
using | const_pointer = const T * |
using | const_reference = const T & |
using | difference_type = ptrdiff_t |
using | element_type = T |
using | iterator = pointer |
using | pointer = T * |
using | reference = T & |
using | size_type = size_t |
using | value_type = std::remove_cv_t< T > |
Public Member Functions | |
constexpr reference | back () const |
constexpr iterator | begin () const noexcept |
constexpr const_iterator | cbegin () const noexcept |
constexpr const_iterator | cend () const noexcept |
constexpr pointer | data () const noexcept |
KZ_NO_DISCARD constexpr bool | empty () const noexcept |
constexpr iterator | end () const noexcept |
constexpr span< element_type > | first (size_type count) const |
constexpr reference | front () const |
constexpr span< element_type > | last (size_type count) const |
span & | operator= (const span &) noexcept=default |
constexpr reference | operator[] (size_type i) const |
constexpr size_type | size () const noexcept |
constexpr size_type | size_bytes () const noexcept |
constexpr | span () noexcept=default |
constexpr | span (pointer ptr, size_type count) |
constexpr | span (pointer first, pointer last) |
template<size_t N> | |
constexpr | span (T(&data)[N]) noexcept |
template<size_t N> | |
constexpr | span (array< T, N > &arr) |
template<size_t N> | |
constexpr | span (const array< T, N > &arr) |
constexpr | span (const span &) noexcept=default |
constexpr span< T > | subspan (size_t offset, size_t count=numeric_limits< size_t >::max()) const |
using kanzi::span< T >::element_type = T |
using kanzi::span< T >::value_type = std::remove_cv_t<T> |
using kanzi::span< T >::size_type = size_t |
using kanzi::span< T >::difference_type = ptrdiff_t |
using kanzi::span< T >::pointer = T* |
using kanzi::span< T >::const_pointer = const T* |
using kanzi::span< T >::reference = T& |
using kanzi::span< T >::const_reference = const T& |
using kanzi::span< T >::iterator = pointer |
using kanzi::span< T >::const_iterator = const_pointer |
|
defaultnoexcept |
|
inline |
|
inline |
|
inlinenoexcept |
|
inline |
|
inline |
|
defaultnoexcept |
|
defaultnoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
inline |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
inline |
|
inline |