MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / to_json_tuple_impl

Function to_json_tuple_impl

Source/Utils/json.hpp:4336–4339  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4334
4335 template<typename BasicJsonType, typename Tuple, std::size_t... Idx>
4336 void to_json_tuple_impl(BasicJsonType& j, const Tuple& t, index_sequence<Idx...> /*unused*/)
4337 {
4338 j = { std::get<Idx>(t)... };
4339 }
4340
4341 template<typename BasicJsonType, typename T, enable_if_t<is_constructible_tuple<BasicJsonType, T>::value, int > = 0>
4342 void to_json(BasicJsonType& j, const T& t)

Callers 1

to_jsonFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected