Lines Matching refs:pod
25 struct pod {}; struct
28 void to_json(json& /*unused*/, pod /*unused*/) noexcept;
30 void from_json(const json& /*unused*/, pod /*unused*/) noexcept;
32 void to_json(json& /*unused*/, pod /*unused*/) noexcept {} in to_json() argument
34 void from_json(const json& /*unused*/, pod /*unused*/) noexcept {} in from_json() argument
44 static_assert(noexcept(nlohmann::to_json(*j, pod{})), "");
48 static_assert(noexcept(json(pod{})), "");
49 static_assert(noexcept(j->get<pod>()), "");
51 static_assert(noexcept(json(pod{})), "");
75 to_json(j2, pod());
77 from_json(j2, pod());