0.4.1
Loading...
Searching...
No Matches
detail::variant_switch< 0 > Struct Reference

Variant serialize implementation specialization for a single variant. More...

Public Member Functions

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

Detailed Description

Variant serialize implementation specialization for a single variant.

Definition at line 87 of file Json.hpp.

Member Function Documentation

◆ operator()() [1/2]

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.

◆ operator()() [2/2]

template<typename Variant>
void detail::variant_switch< 0 >::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 94 of file Json.hpp.


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