A C++11 library for serialization
 All Classes Files Functions Variables Typedefs Enumerations Macros Modules Pages
Classes | Functions

Support for boost::variant. More...

#include <cereal/cereal.hpp>
#include <boost/variant.hpp>
#include <boost/mpl/size.hpp>

Go to the source code of this file.


struct  cereal::variant_detail::variant_save_visitor< Archive >


template<int N, class Variant , class... Args, class Archive >
std::enable_if< N==boost::mpl::size
< typename Variant::types >
::value, void >::type 
cereal::variant_detail::load_variant (Archive &, int, Variant &)
template<class Archive , typename... VariantTypes>
void cereal::CEREAL_SAVE_FUNCTION_NAME (Archive &ar, boost::variant< VariantTypes...> const &variant)
 Saving for boost::variant.
template<class Archive , typename... VariantTypes>
void cereal::CEREAL_LOAD_FUNCTION_NAME (Archive &ar, boost::variant< VariantTypes...> &variant)
 Loading for boost::variant.

Detailed Description

Support for boost::variant.