ArrayWrapper< T > Class Template Reference

This class is used as a shim for cereal to be able to serialize a raw pointer array. More...

Public Member Functions

 ArrayWrapper (T *&addr, std::size_t &size)
 
template
<
class
Archive
>
void load (Archive &ar)
 
template
<
class
Archive
>
void save (Archive &ar) const
 

Detailed Description


template
<
class
T
>

class cereal::ArrayWrapper< T >

This class is used as a shim for cereal to be able to serialize a raw pointer array.

Definition at line 28 of file array_wrapper.hpp.

Constructor & Destructor Documentation

◆ ArrayWrapper()

ArrayWrapper ( T *&  addr,
std::size_t &  size 
)
inline

Definition at line 31 of file array_wrapper.hpp.

Member Function Documentation

◆ load()

void load ( Archive &  ar)
inline

Definition at line 45 of file array_wrapper.hpp.

◆ save()

void save ( Archive &  ar) const
inline

Definition at line 37 of file array_wrapper.hpp.


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