]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/jaegertracing/opentelemetry-cpp/third_party/nlohmann-json/doc/examples/number_float_t.cpp
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / third_party / nlohmann-json / doc / examples / number_float_t.cpp
diff --git a/ceph/src/jaegertracing/opentelemetry-cpp/third_party/nlohmann-json/doc/examples/number_float_t.cpp b/ceph/src/jaegertracing/opentelemetry-cpp/third_party/nlohmann-json/doc/examples/number_float_t.cpp
new file mode 100644 (file)
index 0000000..21211dc
--- /dev/null
@@ -0,0 +1,10 @@
+#include <iostream>
+#include <iomanip>
+#include <nlohmann/json.hpp>
+
+using json = nlohmann::json;
+
+int main()
+{
+    std::cout << std::boolalpha << std::is_same<double, json::number_float_t>::value << std::endl;
+}