MCPcopy Create free account
hub / github.com/danielaparker/jsoncons / main

Function main

examples/src/json_traits_variant_examples.cpp:382–395  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

380#endif // defined(JSONCONS_HAS_STD_VARIANT)
381
382int main()
383{
384 std::cout << "\njson traits variant examples\n\n";
385
386#if defined(JSONCONS_HAS_STD_VARIANT)
387 variant_example();
388 variant_example4();
389 variant_example2();
390 variant_example3();
391 distinguish_by_type();
392#endif
393
394 std::cout << '\n';
395}
396

Callers

nothing calls this directly

Calls 5

variant_exampleFunction · 0.85
variant_example4Function · 0.85
variant_example2Function · 0.85
variant_example3Function · 0.85
distinguish_by_typeFunction · 0.85

Tested by

no test coverage detected