BEType: explicit alignment specifier

This commit is contained in:
Nekotekina 2016-05-26 18:06:06 +03:00
parent 5d6aecc599
commit 73c2115968
7 changed files with 177 additions and 125 deletions

View file

@ -34,6 +34,12 @@ struct bijective_pair
T2 v2;
};
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;
// Specialization with static constexpr bijective_pair<T1, T2> map[] member expected
template<typename T1, typename T2>
struct bijective;