Monero
Loading...
Searching...
No Matches
variant.h File Reference

for dealing with variants More...

#include <boost/variant/variant.hpp>
#include <boost/variant/apply_visitor.hpp>
#include <boost/variant/static_visitor.hpp>
#include <boost/mpl/empty.hpp>
#include <boost/mpl/if.hpp>
#include <boost/mpl/front.hpp>
#include <boost/mpl/pop_front.hpp>
#include "serialization.h"
Include dependency graph for variant.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  variant_serialization_traits< Archive, T >
struct  variant_reader< Archive, Variant, TBegin, TEnd >
 reads a variant More...
struct  variant_reader< Archive, Variant, TBegin, TBegin >
struct  variant_write_visitor< Archive >

Functions

template<template< bool > class Archive, typename... T>
static bool do_serialize (Archive< false > &ar, boost::variant< T... > &v)
template<template< bool > class Archive, typename... T>
static bool do_serialize (Archive< true > &ar, boost::variant< T... > &v)

Detailed Description

for dealing with variants

\detailed Variant: OOP Union

Function Documentation

◆ do_serialize() [1/2]

template<template< bool > class Archive, typename... T>
bool do_serialize ( Archive< false > & ar,
boost::variant< T... > & v )
static

◆ do_serialize() [2/2]

template<template< bool > class Archive, typename... T>
bool do_serialize ( Archive< true > & ar,
boost::variant< T... > & v )
static