The objective of this class is to create a wrapper for a vector of boost::variant that holds pointer. More...
Public Member Functions | |
PointerVectorVariantWrapper (std::vector< boost::variant< VariantTypes... >> &vecPointerVar) | |
template < class Archive > | |
void | load (Archive &ar) |
template < class Archive > | |
void | save (Archive &ar) const |
The objective of this class is to create a wrapper for a vector of boost::variant that holds pointer.
Cereal supports the serialization of boost::variant, but we need to serialize it if it holds a vector of boost::variant that holds a pointers.
Definition at line 24 of file pointer_vector_variant_wrapper.hpp.
|
inline |
Definition at line 52 of file pointer_vector_variant_wrapper.hpp.
|
inline |
Definition at line 69 of file pointer_vector_variant_wrapper.hpp.
References CEREAL_VARIANT_POINTER.
|
inline |
Definition at line 58 of file pointer_vector_variant_wrapper.hpp.
References CEREAL_VARIANT_POINTER.