Lumiera
0.pre.03
»edit your freedom«
|
#include "lib/ref-array-impl.hpp"
RefArray implementation based on a fixed size array, i.e.
the storage is embedded. Embedded subclass obj either need to be default constructible or be placed directly by a factory
Definition at line 110 of file ref-array-impl.hpp.
Public Member Functions | |
template<class FAC > | |
RefArrayTable (FAC &factory) | |
virtual B const & | operator[] (size_t i) const |
virtual size_t | size () const |
Public Member Functions inherited from RefArray< B > | |
virtual | ~RefArray () |
this is an interface | |
Private Member Functions | |
void | cleanup (size_t top=n) noexcept |
Private Attributes | |
IM * | array_ |
char | storage_ [n *sizeof(IM)] |
|
inline |
factory | objects created in-place by factory |
Definition at line 130 of file ref-array-impl.hpp.