NDDEM
Namespaces | Functions
optional.hpp File Reference

Support for std::optional. More...

#include "cereal/cereal.hpp"
#include <optional>

Go to the source code of this file.

Namespaces

 cereal
 in certain simple scenarios. They should probably not be used if maximizing performance is the main objective.
 

Functions

template<class Archive , typename T >
void cereal::CEREAL_SAVE_FUNCTION_NAME (Archive &ar, const std::optional< T > &optional)
 Saving for std::optional. More...
 
template<class Archive , typename T >
void cereal::CEREAL_LOAD_FUNCTION_NAME (Archive &ar, std::optional< T > &optional)
 Loading for std::optional. More...
 

Detailed Description

Support for std::optional.