BitShares-Core  5.0.0
BitShares blockchain implementation and command-line interface software
Static Public Member Functions | List of all members
fc::if_enum< T, std::enable_if_t< std::is_enum< T >::value > > Struct Template Reference

#include <variant.hpp>

Static Public Member Functions

static void to_variant (const T &o, fc::variant &v, uint32_t max_depth=1)
 
static void from_variant (const fc::variant &v, T &o, uint32_t max_depth=1)
 

Detailed Description

template<typename T>
struct fc::if_enum< T, std::enable_if_t< std::is_enum< T >::value > >

Definition at line 85 of file variant.hpp.

Member Function Documentation

template<typename T >
static void fc::if_enum< T, std::enable_if_t< std::is_enum< T >::value > >::from_variant ( const fc::variant v,
T &  o,
uint32_t  max_depth = 1 
)
inlinestatic

Definition at line 91 of file variant.hpp.

template<typename T >
static void fc::if_enum< T, std::enable_if_t< std::is_enum< T >::value > >::to_variant ( const T &  o,
fc::variant v,
uint32_t  max_depth = 1 
)
inlinestatic

Definition at line 87 of file variant.hpp.


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