MCPcopy Create free account
hub / github.com/bytedance/Fastbot_Android / to_json_tuple_impl

Function to_json_tuple_impl

native/thirdpart/json/json.hpp:3764–3767  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3762
3763template<typename BasicJsonType, typename Tuple, std::size_t... Idx>
3764void to_json_tuple_impl(BasicJsonType& j, const Tuple& t, index_sequence<Idx...> /*unused*/)
3765{
3766 j = { std::get<Idx>(t)... };
3767}
3768
3769template<typename BasicJsonType, typename T, enable_if_t<is_constructible_tuple<BasicJsonType, T>::value, int > = 0>
3770void to_json(BasicJsonType& j, const T& t)

Callers 1

to_jsonFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected