Learning Curve Plus Plus (LCPP)
cereal.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<class Archive , class T >
void cereal::save (Archive &ar, const std::optional< T > &opt)
 
template<class Archive , class T >
void cereal::load (Archive &ar, std::optional< T > &opt)
 
template<class Archive >
void cereal::save (Archive &ar, const std::filesystem::path &path)
 
template<class Archive >
void cereal::load (Archive &ar, std::filesystem::path &path)
 

Detailed Description

Author
Ozgur Taylan Turan

Custom Cereal serialization helpers.

Cereal does not provide built-in support for some standard library types such as std::optional and std::filesystem::path. These save/load functions allow these types to be serialized and deserialized in a portable way by converting them into simpler serializable forms.

Definition in file cereal.h.