Electroneum
serializer< Archive< true >, boost::variant< BOOST_VARIANT_ENUM_PARAMS(T)> > Struct Template Reference

#include <variant.h>

Classes

struct  visitor
 

Public Types

typedef boost::variant< BOOST_VARIANT_ENUM_PARAMS(T)> variant_type
 

Static Public Member Functions

static bool serialize (Archive< true > &ar, variant_type &v)
 

Detailed Description

template<template< bool > class Archive, BOOST_VARIANT_ENUM_PARAMS(typename T)>
struct serializer< Archive< true >, boost::variant< BOOST_VARIANT_ENUM_PARAMS(T)> >

Definition at line 129 of file variant.h.

Member Typedef Documentation

◆ variant_type

template<template< bool > class Archive, BOOST_VARIANT_ENUM_PARAMS(typename T) >
typedef boost::variant<BOOST_VARIANT_ENUM_PARAMS(T)> serializer< Archive< true >, boost::variant< BOOST_VARIANT_ENUM_PARAMS(T)> >::variant_type

Definition at line 131 of file variant.h.

Member Function Documentation

◆ serialize()

template<template< bool > class Archive, BOOST_VARIANT_ENUM_PARAMS(typename T) >
static bool serializer< Archive< true >, boost::variant< BOOST_VARIANT_ENUM_PARAMS(T)> >::serialize ( Archive< true > &  ar,
variant_type v 
)
inlinestatic

Definition at line 155 of file variant.h.

155  {
156  return boost::apply_visitor(visitor(ar), v);
157  }

The documentation for this struct was generated from the following file: