cereal
A C++11 library for serialization
|
A wrapper class to notify cereal that it is ok to serialize the contained pointer. More...
#include </build/libcereal-SAfJB3/libcereal-1.3.2+dfsg/include/cereal/types/memory.hpp>
Public Member Functions | |
PtrWrapper (T &&p) | |
PtrWrapper (PtrWrapper const &)=default | |
PtrWrapper & | operator= (PtrWrapper const &)=delete |
Public Attributes | |
T & | ptr |
A wrapper class to notify cereal that it is ok to serialize the contained pointer.
This mechanism allows us to intercept and properly handle polymorphic pointers