Monero
Loading...
Searching...
No Matches
variant_reader< Archive, Variant, TBegin, TEnd > Struct Template Reference

reads a variant More...

#include <variant.h>

Public Types

typedef Archive::variant_tag_type variant_tag_type
typedef boost::mpl::next< TBegin >::type TNext
typedef boost::mpl::deref< TBegin >::type current_type

Static Public Member Functions

static bool read (Archive &ar, Variant &v, variant_tag_type t)

Detailed Description

template<class Archive, class Variant, class TBegin, class TEnd>
struct variant_reader< Archive, Variant, TBegin, TEnd >

reads a variant

Member Typedef Documentation

◆ current_type

template<class Archive, class Variant, class TBegin, class TEnd>
typedef boost::mpl::deref<TBegin>::type variant_reader< Archive, Variant, TBegin, TEnd >::current_type

◆ TNext

template<class Archive, class Variant, class TBegin, class TEnd>
typedef boost::mpl::next<TBegin>::type variant_reader< Archive, Variant, TBegin, TEnd >::TNext

◆ variant_tag_type

template<class Archive, class Variant, class TBegin, class TEnd>
typedef Archive::variant_tag_type variant_reader< Archive, Variant, TBegin, TEnd >::variant_tag_type

Member Function Documentation

◆ read()

template<class Archive, class Variant, class TBegin, class TEnd>
bool variant_reader< Archive, Variant, TBegin, TEnd >::read ( Archive & ar,
Variant & v,
variant_tag_type t )
inlinestatic

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