|
MC Protocol Serial C++ 0.2.3
MC protocol serial library for MCU-oriented environments
|
#include <span_compat.hpp>
Public Types | |
| using | element_type = T |
| using | value_type = typename mcprotocol_remove_cv< T >::type |
| using | size_type = size_t |
| using | difference_type = ptrdiff_t |
| using | pointer = element_type * |
| using | reference = element_type & |
| using | iterator = pointer |
Public Member Functions | |
| constexpr | span () noexcept=default |
| constexpr | span (pointer ptr, size_type count) noexcept |
| constexpr | span (pointer first, pointer last) noexcept |
| template<size_t N> | |
| constexpr | span (element_type(&arr)[N]) noexcept |
| template<typename U , size_t N> | |
| constexpr | span (array< U, N > &arr) noexcept |
| template<typename U , size_t N> | |
| constexpr | span (const array< U, N > &arr) noexcept |
| template<typename U , size_t OtherExtent> | |
| constexpr | span (const span< U, OtherExtent > &other) noexcept |
| constexpr iterator | begin () const noexcept |
| constexpr iterator | end () const noexcept |
| constexpr reference | operator[] (size_type index) const noexcept |
| constexpr pointer | data () const noexcept |
| constexpr size_type | size () const noexcept |
| constexpr bool | empty () const noexcept |
| constexpr span | first (size_type count) const noexcept |
| constexpr span | subspan (size_type offset) const noexcept |
| constexpr span | subspan (size_type offset, size_type count) const noexcept |
Static Public Attributes | |
| static constexpr size_type | extent = Extent |
Definition at line 42 of file span_compat.hpp.
Definition at line 47 of file span_compat.hpp.
| using std::span< T, Extent >::pointer = element_type* |
Definition at line 48 of file span_compat.hpp.
| using std::span< T, Extent >::reference = element_type& |
Definition at line 49 of file span_compat.hpp.
Definition at line 45 of file span_compat.hpp.
Definition at line 56 of file span_compat.hpp.
Definition at line 58 of file span_compat.hpp.
|
inlineconstexprnoexcept |
Definition at line 62 of file span_compat.hpp.
Definition at line 65 of file span_compat.hpp.
Definition at line 68 of file span_compat.hpp.
|
inlineconstexprnoexcept |
Definition at line 71 of file span_compat.hpp.
Definition at line 74 of file span_compat.hpp.
Definition at line 77 of file span_compat.hpp.
Definition at line 79 of file span_compat.hpp.
Definition at line 75 of file span_compat.hpp.
Definition at line 81 of file span_compat.hpp.
|
inlineconstexprnoexcept |
Definition at line 76 of file span_compat.hpp.
Definition at line 78 of file span_compat.hpp.
Definition at line 83 of file span_compat.hpp.
|
inlineconstexprnoexcept |
Definition at line 87 of file span_compat.hpp.
Definition at line 52 of file span_compat.hpp.