MIP_SDK
latest-2-g34f3e39
MicroStrain Communications Library for embedded systems
|
#include <span.hpp>
Public Types | |
using | element_type = T |
using | value_type = typename std::remove_cv< T >::type |
using | difference_type = ptrdiff_t |
using | pointer = T * |
using | reference = T & |
using | const_pointer = const T * |
using | const_reference = const T & |
Public Member Functions | |
constexpr | Span ()=default |
constexpr | Span (pointer ptr, size_t cnt) |
template<size_t N> | |
constexpr | Span (const T(&arr)[N]) |
constexpr pointer | begin () const noexcept |
constexpr pointer | end () const noexcept |
constexpr element_type | front () const noexcept |
constexpr element_type | back () const noexcept |
constexpr reference | operator[] (size_t idx) noexcept |
constexpr const_reference | operator[] (size_t idx) const noexcept |
constexpr pointer | data () const noexcept |
constexpr size_t | size () const noexcept |
constexpr bool | empty () const noexcept |
constexpr Span< T, DYNAMIC_EXTENT > | subspan (size_t index, size_t length) const |
constexpr Span< T, DYNAMIC_EXTENT > | subspan (size_t index) const |
template<size_t Offset, size_t Count = DYNAMIC_EXTENT> | |
constexpr Span< T, Count > | subspan () const |
using microstrain::Span< T, DYNAMIC_EXTENT >::const_pointer = const T* |
using microstrain::Span< T, DYNAMIC_EXTENT >::const_reference = const T& |
using microstrain::Span< T, DYNAMIC_EXTENT >::difference_type = ptrdiff_t |
using microstrain::Span< T, DYNAMIC_EXTENT >::element_type = T |
using microstrain::Span< T, DYNAMIC_EXTENT >::pointer = T* |
using microstrain::Span< T, DYNAMIC_EXTENT >::reference = T& |
using microstrain::Span< T, DYNAMIC_EXTENT >::value_type = typename std::remove_cv<T>::type |
|
constexprdefault |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |