TerraForge3D  2.3.1
3D Terrain And Landscape Generator

◆ reinterpret_bits()

template<typename Target , typename Source >
Target nlohmann::detail::dtoa_impl::reinterpret_bits ( const Source  source)

Definition at line 15582 of file json.hpp.

15583{
15584 static_assert(sizeof(Target) == sizeof(Source), "size mismatch");
15585 Target target;
15586 std::memcpy(&target, &source, sizeof(Source));
15587 return target;
15588}