mirror of
https://github.com/ETLCPP/etl.git
synced 2026-11-09 14:49:53 +08:00
Merge branch 'development' of https://github.com/ETLCPP/etl into development
This commit is contained in:
commit
d507106764
@ -1096,38 +1096,17 @@ namespace etl
|
||||
dummy_t dummy;
|
||||
T value;
|
||||
|
||||
constexpr storage_type()
|
||||
ETL_CONSTEXPR storage_type()
|
||||
: dummy()
|
||||
{
|
||||
}
|
||||
|
||||
constexpr storage_type(const T& v)
|
||||
ETL_CONSTEXPR storage_type(const T& v)
|
||||
: value(v)
|
||||
{
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
//struct storage_type
|
||||
//{
|
||||
// storage_type()
|
||||
// {
|
||||
// }
|
||||
|
||||
// union union_type
|
||||
// {
|
||||
// union_type()
|
||||
// : dummy(0)
|
||||
// {
|
||||
// }
|
||||
|
||||
// char dummy;
|
||||
// T value;
|
||||
// };
|
||||
|
||||
// union_type u;
|
||||
//};
|
||||
|
||||
storage_type storage;
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user