0.2.0
Loading...
Searching...
No Matches
detail::variant_switch< N > Struct Template Reference

Variant serialize implementation. More...

Public Member Functions

template<typename Variant >
void operator() (int index, const json &value, Variant &v) const
 Access operator into the variant.
 

Detailed Description

template<std::size_t N>
struct detail::variant_switch< N >

Variant serialize implementation.

Member Function Documentation

◆ operator()()

template<std::size_t N>
template<typename Variant >
void detail::variant_switch< N >::operator() ( int index,
const json & value,
Variant & v ) const
inline

Access operator into the variant.

Parameters
indexIndex of the variant
valueJson value of the variant
vVariant to return

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