Kagome
Polkadot Runtime Engine in C++17
kagome::common::dynamic_variant::functors_vector_builder< Variant > Struct Template Reference

Prepares initializers for each type of variant. More...

#include <variant_builder.hpp>

Collaboration diagram for kagome::common::dynamic_variant::functors_vector_builder< Variant >:

Public Member Functions

template<typename Element >
void operator() (Element)
 

Public Attributes

std::vector< std::function< void(Variant &)> > * vec
 

Detailed Description

template<typename Variant>
struct kagome::common::dynamic_variant::functors_vector_builder< Variant >

Prepares initializers for each type of variant.

Definition at line 35 of file variant_builder.hpp.

Member Function Documentation

template<typename Variant>
template<typename Element >
void kagome::common::dynamic_variant::functors_vector_builder< Variant >::operator() ( Element  )
inline

Definition at line 38 of file variant_builder.hpp.

Member Data Documentation

template<typename Variant>
std::vector<std::function<void(Variant &)> >* kagome::common::dynamic_variant::functors_vector_builder< Variant >::vec

Definition at line 36 of file variant_builder.hpp.


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