| 18 | template <typename TDerived> |
| 19 | template <typename T> |
| 20 | inline T VariantRefBase<TDerived>::as() const { |
| 21 | using variant_type = // JsonVariantConst or JsonVariant? |
| 22 | typename function_traits<decltype(&Converter<T>::fromJson)>::arg1_type; |
| 23 | return Converter<T>::fromJson(getVariant<variant_type>()); |
| 24 | } |
| 25 | |
| 26 | template <typename TDerived> |
| 27 | inline JsonArray VariantRefBase<TDerived>::createNestedArray() const { |
nothing calls this directly
no test coverage detected