Embedded Template Library 1.0
Loading...
Searching...
No Matches
etl::private_unaligned_type::unaligned_type_common< Size_ > Class Template Reference

#include <unaligned_type.h>

Public Types

typedef unsigned char storage_type
 
typedef storage_typepointer
 
typedef const storage_typeconst_pointer
 
typedef storage_typeiterator
 
typedef const storage_typeconst_iterator
 
typedef etl::reverse_iterator< iteratorreverse_iterator
 
typedef etl::reverse_iterator< const_iteratorconst_reverse_iterator
 

Public Member Functions

ETL_CONSTEXPR unaligned_type_common ()
 Default constructor.
 
ETL_CONSTEXPR size_t size () const
 Size of the storage.
 
pointer data ()
 Pointer to the beginning of the storage.
 
ETL_CONSTEXPR const_pointer data () const
 Const pointer to the beginning of the storage.
 
iterator begin ()
 Iterator to the beginning of the storage.
 
ETL_CONSTEXPR const_iterator begin () const
 Const iterator to the beginning of the storage.
 
ETL_CONSTEXPR const_iterator cbegin () const
 Const iterator to the beginning of the storage.
 
reverse_iterator rbegin ()
 Reverse iterator to the beginning of the storage.
 
ETL_CONSTEXPR14 const_reverse_iterator rbegin () const
 Const reverse iterator to the beginning of the storage.
 
ETL_CONSTEXPR14 const_reverse_iterator crbegin () const
 Const reverse iterator to the beginning of the storage.
 
iterator end ()
 Iterator to the end of the storage.
 
ETL_CONSTEXPR const_iterator end () const
 Const iterator to the end of the storage.
 
ETL_CONSTEXPR const_iterator cend () const
 Const iterator to the end of the storage.
 
reverse_iterator rend ()
 Reverse iterator to the end of the storage.
 
ETL_CONSTEXPR14 const_reverse_iterator rend () const
 Const reverse iterator to the end of the storage.
 
ETL_CONSTEXPR14 const_reverse_iterator crend () const
 Const reverse iterator to the end of the storage.
 
storage_typeoperator[] (int i)
 Index operator.
 
ETL_CONSTEXPR const storage_typeoperator[] (int i) const
 Const index operator.
 

Static Public Attributes

static ETL_CONSTANT size_t Size = Size_
 

Protected Attributes

unsigned char storage [Size]
 

Detailed Description

template<size_t Size_>
class etl::private_unaligned_type::unaligned_type_common< Size_ >

unaligned_type_common Contains all functionality that doesn't require the type.


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