Tidy endianness support (se_t) implementation
Move se_t and se_storage to util/endian.hpp Use single template instead of two specializations. Add minor optimization for MSVC. Remove v128 dependency. Try to enable intrinsics for unaligned data. Fix minor bug in u16/u32/u64 specializations.
This commit is contained in:
@@ -191,12 +191,6 @@ namespace fmt
|
||||
const fmt_type_info* get_type_info();
|
||||
}
|
||||
|
||||
template <typename T, std::size_t Align = alignof(T), std::size_t Size = sizeof(T)>
|
||||
struct se_storage;
|
||||
|
||||
template <typename T, bool Se = true, std::size_t Align = alignof(T)>
|
||||
class se_t;
|
||||
|
||||
template <typename T>
|
||||
class atomic_t;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user