mirror of
https://github.com/ETLCPP/etl.git
synced 2026-10-28 18:07:10 +08:00
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:
parent
4cbef7fb6e
commit
56c95b474b
@ -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;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user