Lines Matching refs:to_json
49 void to_json(json& /*unused*/, pod /*unused*/) noexcept;
50 void to_json(json& /*unused*/, pod_bis /*unused*/);
53 void to_json(json& /*unused*/, pod /*unused*/) noexcept {} in to_json() function
54 void to_json(json& /*unused*/, pod_bis /*unused*/) {} in to_json() function
61 static_assert(noexcept(nlohmann::to_json(*j, 2)), "");
62 static_assert(noexcept(nlohmann::to_json(*j, 2.5)), "");
63 static_assert(noexcept(nlohmann::to_json(*j, true)), "");
64 static_assert(noexcept(nlohmann::to_json(*j, test{})), "");
65 static_assert(noexcept(nlohmann::to_json(*j, pod{})), "");
66 static_assert(!noexcept(nlohmann::to_json(*j, pod_bis{})), "");
96 to_json(j2, pod());
97 to_json(j2, pod_bis());