Embedded Template Library 1.0
Loading...
Searching...
No Matches
etl::multi_span< T > Class Template Reference

Classes

class  iterator
 Iterator. More...
 

Public Types

typedef T element_type
 
typedef etl::remove_cv< T >::type value_type
 
typedef size_t size_type
 
typedef Treference
 
typedef const Tconst_reference
 
typedef Tpointer
 
typedef const Tconst_pointer
 
typedef etl::span< Tspan_type
 
typedef etl::span< const span_typespan_list_type
 

Public Member Functions

ETL_CONSTEXPR14 multi_span (span_list_type span_list_)
 Constructor.
 
template<typename TContainer >
ETL_CONSTEXPR14 multi_span (TContainer &a) ETL_NOEXCEPT
 
template<typename TContainer >
ETL_CONSTEXPR14 multi_span (const TContainer &a) ETL_NOEXCEPT
 
template<typename TIterator >
ETL_CONSTEXPR14 multi_span (TIterator begin_, TIterator end_)
 Constructor.
 
template<typename TIterator >
ETL_CONSTEXPR14 multi_span (TIterator begin_, size_t length_)
 Constructor.
 
ETL_CONSTEXPR14 multi_span (const multi_span &other)
 Copy Constructor.
 
ETL_CONSTEXPR14 multi_spanoperator= (const multi_span &other)
 Assignment operator.
 
ETL_CONSTEXPR14 iterator begin () const
 
ETL_CONSTEXPR14 iterator end () const
 
ETL_CONSTEXPR14 size_t size () const ETL_NOEXCEPT
 Returns the number of elements in the multi_span.
 
ETL_CONSTEXPR14 bool empty () const ETL_NOEXCEPT
 Returns true if the multi_span size is zero.
 
ETL_CONSTEXPR14 size_t size_bytes () const ETL_NOEXCEPT
 Returns the size of the multi_span.
 
ETL_CONSTEXPR14 size_t size_spans () const ETL_NOEXCEPT
 Returns the number of spans in the multi_span.
 

Constructor & Destructor Documentation

◆ multi_span() [1/2]

template<typename T >
template<typename TContainer >
ETL_CONSTEXPR14 etl::multi_span< T >::multi_span ( TContainer a)
inline

Construct from a container or other type that supports data() and size() member functions.

◆ multi_span() [2/2]

template<typename T >
template<typename TContainer >
ETL_CONSTEXPR14 etl::multi_span< T >::multi_span ( const TContainer a)
inline

Construct from a container or other type that supports data() and size() member functions.


The documentation for this class was generated from the following file: