BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet 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 &v, fc::variant &vo, uint32_t max_depth)
 
static void from_variant (const fc::variant &v, T &o, uint32_t max_depth)
 

Detailed Description

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

Definition at line 69 of file variant.hpp.

Member Function Documentation

◆ from_variant()

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 
)
inlinestatic

Definition at line 77 of file variant.hpp.

◆ to_variant()

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

Definition at line 71 of file variant.hpp.


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