ESPResSo
Extensible Simulation Package for Research on Soft Matter Systems
|
Custom vector container optimized for size. More...
#include <compact_vector.hpp>
Public Member Functions | |
template<class Archive > | |
void | save (Archive &oa, unsigned int const) const |
template<class Archive > | |
void | load (Archive &ia, unsigned int const) |
template<class Archive > | |
void | serialize (Archive &ar, unsigned int const file_version) |
Custom vector container optimized for size.
Allocate only 16 bits for the number of elements, and take only 16 + N * sizeof(T)
bits during serialization in a binary archive.
Definition at line 44 of file compact_vector.hpp.
|
inline |
Definition at line 56 of file compact_vector.hpp.
|
inline |
Definition at line 51 of file compact_vector.hpp.
|
inline |
Definition at line 64 of file compact_vector.hpp.