TerraForge3D  2.3.1
3D Terrain And Landscape Generator

◆ get_impl_ptr() [3/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>>
boolean_t * nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >::get_impl_ptr ( boolean_t )
inlineprivatenoexcept

get a pointer to the value (boolean)

Definition at line 20589 of file json.hpp.

20590 {
20591 return is_boolean() ? &m_value.boolean : nullptr;
20592 }
json_value m_value
the value of the current element
Definition: json.hpp:24928
constexpr bool is_boolean() const noexcept
return whether value is a boolean
Definition: json.hpp:20273