Iroha - A simple, decentralized ledger http://iroha.tech
shared_model::detail::variant_impl< S >::load_impl Struct Reference

#include "variant_deserializer.hpp"

Collaboration diagram for shared_model::detail::variant_impl< S >::load_impl:
Collaboration graph

Static Public Member Functions

template<class V , class Archive >
static V invoke (Archive &&ar, int which)

Detailed Description

template<class S>
struct shared_model::detail::variant_impl< S >::load_impl

Deserializer implementation

Member Function Documentation

template<class S>
template<class V , class Archive >
static V shared_model::detail::variant_impl< S >::load_impl::invoke ( Archive &&  ar,
int  which 

Deserialize container in variant using type in list by specified index If type selector is 0, head type is required type, and it is used Otherwise call helper without front element in type list

Template Parameters
Vvariant type for deserialization
Archivecontainer type
arcontainer to be deserialized
whichtype index in list
vresult variant

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