irrlicht/source/lib/json/docs/examples/number_float_t.cpp

11 lines
213 B
C++
Raw Normal View History

2023-11-26 07:31:01 +01:00
#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;
}