Embedded Template Library 1.0
Loading...
Searching...
No Matches
span.h File Reference
#include "platform.h"
#include "iterator.h"
#include "algorithm.h"
#include "circular_iterator.h"
#include "nullptr.h"
#include "hash.h"
#include "type_traits.h"
#include "integral_limits.h"
#include "memory.h"
#include "array.h"
#include "byte.h"
#include "static_assert.h"
#include "private/dynamic_extent.h"

Go to the source code of this file.

Classes

class  etl::span< T, Extent >
 Span - Fixed Extent. More...
 
class  etl::span< T, etl::dynamic_extent >
 Span - Dynamic Extent. More...
 

Namespaces

namespace  etl
 bitset_ext
 

Functions

template<typename T1 , size_t N1, typename T2 , size_t N2>
ETL_NODISCARD ETL_CONSTEXPR etl::enable_if< etl::is_same< typenameetl::remove_cv< T1 >::type, typenameetl::remove_cv< T2 >::type >::value, bool >::type etl::operator== (const etl::span< T1, N1 > &lhs, const etl::span< T2, N2 > &rhs) ETL_NOEXCEPT
 Compare two spans for equality.
 
template<typename T1 , size_t N1, typename T2 , size_t N2>
ETL_NODISCARD ETL_CONSTEXPR bool etl::operator!= (const etl::span< T1, N1 > &lhs, const etl::span< T2, N2 > &rhs) ETL_NOEXCEPT
 Compare two spans for inequality.
 
template<typename T1 , size_t N1, typename T2 , size_t N2>
etl::enable_if< etl::is_same< typenameetl::remove_cv< T1 >::type, typenameetl::remove_cv< T2 >::type >::value, bool >::type etl::equal (const etl::span< T1, N1 > &lhs, const etl::span< T2, N2 > &rhs)
 
template<class T , size_t N>
span< const byte,(N==etl::dynamic_extent) ?(etl::dynamic_extent) :(N *sizeof(T))> etl::as_bytes (span< T, N > s) ETL_NOEXCEPT
 Template deduction guides.
 
template<class T , size_t N>
span< byte,(N==etl::dynamic_extent) ?(etl::dynamic_extent) :(N *sizeof(T))> etl::as_writable_bytes (span< T, N > s) ETL_NOEXCEPT
 Obtains a view to the byte representation of the elements of the span s.