TerraForge3D  2.3.1
3D Terrain And Landscape Generator

◆ get_impl_ptr() [7/16]

template<template< typename U, typename V, typename... Args > class ObjectType = std::map, template< typename U, typename... Args > class ArrayType = std::vector, class StringType = std::string, class BooleanType = bool, class NumberIntegerType = std::int64_t, class NumberUnsignedType = std::uint64_t, class NumberFloatType = double, template< typename U > class AllocatorType = std::allocator, template< typename T, typename SFINAE=void > class JSONSerializer = adl_serializer, class BinaryType = std::vector<std::uint8_t>>
constexpr const number_float_t * nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >::get_impl_ptr ( const number_float_t ) const
inlineconstexprprivatenoexcept

get a pointer to the value (floating-point number)

Definition at line 20631 of file json.hpp.

20632 {
20633 return is_number_float() ? &m_value.number_float : nullptr;
20634 }
constexpr bool is_number_float() const noexcept
return whether value is a floating-point number
Definition: json.hpp:20388
json_value m_value
the value of the current element
Definition: json.hpp:24928