Lines Matching refs:static_assert
39 static_assert(noexcept(json{}), "");
40 static_assert(noexcept(nlohmann::to_json(*j, 2)), "");
41 static_assert(noexcept(nlohmann::to_json(*j, 2.5)), "");
42 static_assert(noexcept(nlohmann::to_json(*j, true)), "");
43 static_assert(noexcept(nlohmann::to_json(*j, test{})), "");
44 static_assert(noexcept(nlohmann::to_json(*j, pod{})), "");
45 static_assert(!noexcept(nlohmann::to_json(*j, pod_bis{})), "");
46 static_assert(noexcept(json(2)), "");
47 static_assert(noexcept(json(test{})), "");
48 static_assert(noexcept(json(pod{})), "");
49 static_assert(noexcept(j->get<pod>()), "");
50 static_assert(!noexcept(j->get<pod_bis>()), "");
51 static_assert(noexcept(json(pod{})), "");