MCPcopy Create free account
hub / github.com/CalcProgrammer1/OpenRGB / to_json_tuple_impl

Function to_json_tuple_impl

dependencies/json/json.hpp:4403–4406  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4401
4402template<typename BasicJsonType, typename Tuple, std::size_t... Idx>
4403void to_json_tuple_impl(BasicJsonType& j, const Tuple& t, index_sequence<Idx...> /*unused*/)
4404{
4405 j = { std::get<Idx>(t)... };
4406}
4407
4408template<typename BasicJsonType, typename T, enable_if_t<is_constructible_tuple<BasicJsonType, T>::value, int > = 0>
4409void to_json(BasicJsonType& j, const T& t)

Callers 1

to_jsonFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected