TRIQS/TRIQS 4.0.0
Researching Interacting Quantum Systems
Loading...
Searching...
No Matches
variant_serialize.hpp
#include <boost/serialization/split_free.hpp>
#include <variant>

Detailed Description

Boost.Serialization support for std::variant.

Definition in file variant_serialize.hpp.

Go to the source code of this file.

Functions

template<typename Archive, typename... Ts>
void boost::serialization::load (Archive &ar, std::variant< Ts... > &v, const unsigned int version)
 Deserialize a std::variant.
template<typename Archive, typename... Ts>
void boost::serialization::save (Archive &ar, std::variant< Ts... > const &v, const unsigned int version)
 Serialize a std::variant.