MCPcopy Create free account
hub / github.com/Open-GD/OpenGD / to_json_tuple_impl

Function to_json_tuple_impl

Source/external/json.hpp:5709–5712  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5707
5708template<typename BasicJsonType, typename Tuple, std::size_t... Idx>
5709inline void to_json_tuple_impl(BasicJsonType& j, const Tuple& t, index_sequence<Idx...> /*unused*/)
5710{
5711 j = { std::get<Idx>(t)... };
5712}
5713
5714template<typename BasicJsonType, typename T, enable_if_t<is_constructible_tuple<BasicJsonType, T>::value, int > = 0>
5715inline void to_json(BasicJsonType& j, const T& t)

Callers 1

to_jsonFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected