Kagome
Polkadot Runtime Engine in C++17
kagome::common::dynamic_variant::is_boost_variant< boost::variant< Ts... > > Struct Template Reference

#include <variant_builder.hpp>

Inheritance diagram for kagome::common::dynamic_variant::is_boost_variant< boost::variant< Ts... > >:
Collaboration diagram for kagome::common::dynamic_variant::is_boost_variant< boost::variant< Ts... > >:

Detailed Description

template<typename... Ts>
struct kagome::common::dynamic_variant::is_boost_variant< boost::variant< Ts... > >

Compile time checker that the type is boost::variant.

Usage example:

using MyVariant = boost::variant<int, std::string>;
...
static_assert(is_boost_variant<MyVariant>::value);
Template Parameters
Tstypes held inside boost::variant

Definition at line 59 of file variant_builder.hpp.


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