Embedded Template Library 1.0
|
#include <unaligned_type.h>
Public Types | |
typedef unsigned char | storage_type |
typedef storage_type * | pointer |
typedef const storage_type * | const_pointer |
typedef storage_type * | iterator |
typedef const storage_type * | const_iterator |
typedef etl::reverse_iterator< iterator > | reverse_iterator |
typedef etl::reverse_iterator< const_iterator > | const_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_type & | operator[] (int i) |
Index operator. | |
ETL_CONSTEXPR const storage_type & | operator[] (int i) const |
Const index operator. | |
Static Public Attributes | |
static ETL_CONSTANT size_t | Size = Size_ |
Protected Attributes | |
unsigned char | storage [Size] |
unaligned_type_common Contains all functionality that doesn't require the type.