0.4.1
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.

Definition at line 65 of file Json.hpp.

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

Definition at line 72 of file Json.hpp.


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