Packed unaligned_type (#989)

This way, unaligned_types like etl::be_uint32_t can be used in places where POD types are expected.
This commit is contained in:
John Wellbelove 2024-12-20 10:28:02 +00:00
parent 4cbef7fb6e
commit 56c95b474b

View File

@ -60,10 +60,10 @@ namespace etl
static ETL_CONSTANT size_t Size = Size_;
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 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;