Home
last modified time | relevance | path

Searched refs:pod_bis (Results 1 - 1 of 1) sorted by relevance

/third_party/json/tests/src/
H A Dunit-noexcept.cpp11 // disable -Wnoexcept due to struct pod_bis
26 struct pod_bis {}; struct
29 void to_json(json& /*unused*/, pod_bis /*unused*/);
31 void from_json(const json& /*unused*/, pod_bis /*unused*/);
33 void to_json(json& /*unused*/, pod_bis /*unused*/) {} in to_json()
35 void from_json(const json& /*unused*/, pod_bis /*unused*/) {} in from_json()
45 static_assert(!noexcept(nlohmann::to_json(*j, pod_bis{})), "");
50 static_assert(!noexcept(j->get<pod_bis>()), "");
76 to_json(j2, pod_bis());
78 from_json(j2, pod_bis());
[all...]

Completed in 1 milliseconds