bit::memory
bit::memory::ebo_storage< Ts > Class Template Reference

A utility class used for leveraging empty-base optimization for a generic sequence of types. More...

#include <ebo_storage.hpp>

Detailed Description

template<typename... Ts>
class bit::memory::ebo_storage< Ts >

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.

Template Parameters
Tsthe types for this ebo storage

Definition at line 62 of file ebo_storage.hpp.


The documentation for this class was generated from the following file: