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

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

Public Member Functions

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

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:
  • /home/runner/work/INSTINCT/INSTINCT/src/util/Json.hpp