39 #include <boost/variant/variant.hpp> 40 #include <boost/variant/apply_visitor.hpp> 41 #include <boost/variant/static_visitor.hpp> 42 #include <boost/mpl/empty.hpp> 43 #include <boost/mpl/if.hpp> 44 #include <boost/mpl/front.hpp> 45 #include <boost/mpl/pop_front.hpp> 54 template <
class Archive,
class T>
63 template <
class Archive,
class Variant,
class TBegin,
class TEnd>
91 template <
class Archive,
class Variant,
class TBegin>
103 template <
template <
bool>
class Archive,
typename...
T>
105 using types =
typename boost::variant<
T...>::types;
106 typename Archive<false>::variant_tag_type
t;
120 template <
template <
bool>
class Archive>
142 template <
template <
bool>
class Archive,
typename...
T>
Archive::variant_tag_type variant_tag_type
Definition: variant.h:66
const uint32_t T[512]
Definition: groestl_tables.h:36
Archive::variant_tag_type variant_tag_type
Definition: variant.h:94
binary_archive< false > ar
Definition: cold-outputs.cpp:54
void read_variant_tag(variant_tag_type &t)
Definition: binary_archive.h:165
t
Definition: console.py:33
reads a variant
Definition: variant.h:64
int type
Definition: superscalar.cpp:50
bool operator()(T &rv) const
Definition: variant.h:128
void set_fail() noexcept
Definition: binary_archive.h:100
static bool do_serialize(Archive< false > &ar, boost::variant< T... > &v)
Definition: variant.h:104
static bool read(Archive &ar, Variant &v, variant_tag_type t)
Definition: variant.h:71
Simple DSL AAPI based on.
void end_variant()
Definition: binary_archive.h:75
Archive< true > & ar
Definition: variant.h:123
variant_write_visitor(Archive< true > &a)
Definition: variant.h:125
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
Definition: pointer.h:1124
boost::mpl::deref< TBegin >::type current_type
Definition: variant.h:68
static bool read(Archive &ar, Variant &v, variant_tag_type t)
Definition: variant.h:96
void begin_variant()
Definition: binary_archive.h:74
Definition: variant.h:121
boost::mpl::next< TBegin >::type TNext
Definition: variant.h:67