bit::memory
|
A utility class used for leveraging empty-base optimization for a generic sequence of types. More...
#include <ebo_storage.hpp>
A utility class used for leveraging empty-base optimization for a generic sequence of types.
If a type appears twice or more in the type list, only one instance will be inherited from, and the remainder will be compositely created.
Member access can be done through the free-function, get
, that accepts an index for the EBO type. In effect, this class is a compressed_tuple without the additional comparators.
Ts | the types for this ebo storage |
Definition at line 62 of file ebo_storage.hpp.