WPILibC++ 2024.3.2
hedley.h File Reference

Go to the source code of this file.

Macros

#define JSON_HEDLEY_VERSION   15
 
#define JSON_HEDLEY_STRINGIFY_EX(x)   #x
 
#define JSON_HEDLEY_STRINGIFY(x)   JSON_HEDLEY_STRINGIFY_EX(x)
 
#define JSON_HEDLEY_CONCAT_EX(a, b)   a##b
 
#define JSON_HEDLEY_CONCAT(a, b)   JSON_HEDLEY_CONCAT_EX(a,b)
 
#define JSON_HEDLEY_CONCAT3_EX(a, b, c)   a##b##c
 
#define JSON_HEDLEY_CONCAT3(a, b, c)   JSON_HEDLEY_CONCAT3_EX(a,b,c)
 
#define JSON_HEDLEY_VERSION_ENCODE(major, minor, revision)   (((major) * 1000000) + ((minor) * 1000) + (revision))
 
#define JSON_HEDLEY_VERSION_DECODE_MAJOR(version)   ((version) / 1000000)
 
#define JSON_HEDLEY_VERSION_DECODE_MINOR(version)   (((version) % 1000000) / 1000)
 
#define JSON_HEDLEY_VERSION_DECODE_REVISION(version)   ((version) % 1000)
 
#define JSON_HEDLEY_GNUC_VERSION_CHECK(major, minor, patch)   (0)
 
#define JSON_HEDLEY_MSVC_VERSION_CHECK(major, minor, patch)   (0)
 
#define JSON_HEDLEY_INTEL_VERSION_CHECK(major, minor, patch)   (0)
 
#define JSON_HEDLEY_INTEL_CL_VERSION_CHECK(major, minor, patch)   (0)
 
#define JSON_HEDLEY_PGI_VERSION_CHECK(major, minor, patch)   (0)
 
#define JSON_HEDLEY_SUNPRO_VERSION_CHECK(major, minor, patch)   (0)
 
#define JSON_HEDLEY_EMSCRIPTEN_VERSION_CHECK(major, minor, patch)   (0)
 
#define JSON_HEDLEY_ARM_VERSION_CHECK(major, minor, patch)   (0)
 
#define JSON_HEDLEY_IBM_VERSION_CHECK(major, minor, patch)   (0)
 
#define JSON_HEDLEY_TI_VERSION_CHECK(major, minor, patch)   (0)
 
#define JSON_HEDLEY_TI_CL2000_VERSION_CHECK(major, minor, patch)   (0)
 
#define JSON_HEDLEY_TI_CL430_VERSION_CHECK(major, minor, patch)   (0)
 
#define JSON_HEDLEY_TI_ARMCL_VERSION_CHECK(major, minor, patch)   (0)
 
#define JSON_HEDLEY_TI_CL6X_VERSION_CHECK(major, minor, patch)   (0)
 
#define JSON_HEDLEY_TI_CL7X_VERSION_CHECK(major, minor, patch)   (0)
 
#define JSON_HEDLEY_TI_CLPRU_VERSION_CHECK(major, minor, patch)   (0)
 
#define JSON_HEDLEY_CRAY_VERSION_CHECK(major, minor, patch)   (0)
 
#define JSON_HEDLEY_IAR_VERSION_CHECK(major, minor, patch)   (0)
 
#define JSON_HEDLEY_TINYC_VERSION_CHECK(major, minor, patch)   (0)
 
#define JSON_HEDLEY_DMC_VERSION_CHECK(major, minor, patch)   (0)
 
#define JSON_HEDLEY_COMPCERT_VERSION_CHECK(major, minor, patch)   (0)
 
#define JSON_HEDLEY_PELLES_VERSION_CHECK(major, minor, patch)   (0)
 
#define JSON_HEDLEY_MCST_LCC_VERSION_CHECK(major, minor, patch)   (0)
 
#define JSON_HEDLEY_GCC_VERSION_CHECK(major, minor, patch)   (0)
 
#define JSON_HEDLEY_HAS_ATTRIBUTE(attribute)   (0)
 
#define JSON_HEDLEY_GNUC_HAS_ATTRIBUTE(attribute, major, minor, patch)   JSON_HEDLEY_GNUC_VERSION_CHECK(major,minor,patch)
 
#define JSON_HEDLEY_GCC_HAS_ATTRIBUTE(attribute, major, minor, patch)   JSON_HEDLEY_GCC_VERSION_CHECK(major,minor,patch)
 
#define JSON_HEDLEY_HAS_CPP_ATTRIBUTE(attribute)   (0)
 
#define JSON_HEDLEY_HAS_CPP_ATTRIBUTE_NS(ns, attribute)   (0)
 
#define JSON_HEDLEY_GNUC_HAS_CPP_ATTRIBUTE(attribute, major, minor, patch)   JSON_HEDLEY_GNUC_VERSION_CHECK(major,minor,patch)
 
#define JSON_HEDLEY_GCC_HAS_CPP_ATTRIBUTE(attribute, major, minor, patch)   JSON_HEDLEY_GCC_VERSION_CHECK(major,minor,patch)
 
#define JSON_HEDLEY_HAS_BUILTIN(builtin)   (0)
 
#define JSON_HEDLEY_GNUC_HAS_BUILTIN(builtin, major, minor, patch)   JSON_HEDLEY_GNUC_VERSION_CHECK(major,minor,patch)
 
#define JSON_HEDLEY_GCC_HAS_BUILTIN(builtin, major, minor, patch)   JSON_HEDLEY_GCC_VERSION_CHECK(major,minor,patch)
 
#define JSON_HEDLEY_HAS_FEATURE(feature)   (0)
 
#define JSON_HEDLEY_GNUC_HAS_FEATURE(feature, major, minor, patch)   JSON_HEDLEY_GNUC_VERSION_CHECK(major,minor,patch)
 
#define JSON_HEDLEY_GCC_HAS_FEATURE(feature, major, minor, patch)   JSON_HEDLEY_GCC_VERSION_CHECK(major,minor,patch)
 
#define JSON_HEDLEY_HAS_EXTENSION(extension)   (0)
 
#define JSON_HEDLEY_GNUC_HAS_EXTENSION(extension, major, minor, patch)   JSON_HEDLEY_GNUC_VERSION_CHECK(major,minor,patch)
 
#define JSON_HEDLEY_GCC_HAS_EXTENSION(extension, major, minor, patch)   JSON_HEDLEY_GCC_VERSION_CHECK(major,minor,patch)
 
#define JSON_HEDLEY_HAS_DECLSPEC_ATTRIBUTE(attribute)   (0)
 
#define JSON_HEDLEY_GNUC_HAS_DECLSPEC_ATTRIBUTE(attribute, major, minor, patch)   JSON_HEDLEY_GNUC_VERSION_CHECK(major,minor,patch)
 
#define JSON_HEDLEY_GCC_HAS_DECLSPEC_ATTRIBUTE(attribute, major, minor, patch)   JSON_HEDLEY_GCC_VERSION_CHECK(major,minor,patch)
 
#define JSON_HEDLEY_HAS_WARNING(warning)   (0)
 
#define JSON_HEDLEY_GNUC_HAS_WARNING(warning, major, minor, patch)   JSON_HEDLEY_GNUC_VERSION_CHECK(major,minor,patch)
 
#define JSON_HEDLEY_GCC_HAS_WARNING(warning, major, minor, patch)   JSON_HEDLEY_GCC_VERSION_CHECK(major,minor,patch)
 
#define JSON_HEDLEY_PRAGMA(value)
 
#define JSON_HEDLEY_DIAGNOSTIC_PUSH
 
#define JSON_HEDLEY_DIAGNOSTIC_POP
 
#define JSON_HEDLEY_DIAGNOSTIC_DISABLE_CPP98_COMPAT_WRAP_(x)   x
 
#define JSON_HEDLEY_CONST_CAST(T, expr)   (const_cast<T>(expr))
 
#define JSON_HEDLEY_REINTERPRET_CAST(T, expr)   (reinterpret_cast<T>(expr))
 
#define JSON_HEDLEY_STATIC_CAST(T, expr)   (static_cast<T>(expr))
 
#define JSON_HEDLEY_CPP_CAST(T, expr)   ((T) (expr))
 
#define JSON_HEDLEY_DIAGNOSTIC_DISABLE_DEPRECATED
 
#define JSON_HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_PRAGMAS
 
#define JSON_HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_CPP_ATTRIBUTES
 
#define JSON_HEDLEY_DIAGNOSTIC_DISABLE_CAST_QUAL
 
#define JSON_HEDLEY_DIAGNOSTIC_DISABLE_UNUSED_FUNCTION
 
#define JSON_HEDLEY_DEPRECATED(since)
 
#define JSON_HEDLEY_DEPRECATED_FOR(since, replacement)
 
#define JSON_HEDLEY_UNAVAILABLE(available_since)
 
#define JSON_HEDLEY_WARN_UNUSED_RESULT
 
#define JSON_HEDLEY_WARN_UNUSED_RESULT_MSG(msg)
 
#define JSON_HEDLEY_SENTINEL(position)
 
#define JSON_HEDLEY_NO_RETURN
 
#define JSON_HEDLEY_NO_ESCAPE
 
#define JSON_HEDLEY_ASSUME(expr)   JSON_HEDLEY_STATIC_CAST(void, expr)
 
#define JSON_HEDLEY_UNREACHABLE_RETURN(value)   return (value)
 
#define JSON_HEDLEY_UNREACHABLE()   JSON_HEDLEY_ASSUME(0)
 
#define JSON_HEDLEY_NON_NULL(...)
 
#define JSON_HEDLEY_PRINTF_FORMAT(string_idx, first_to_check)
 
#define JSON_HEDLEY_CONSTEXPR
 
#define JSON_HEDLEY_PREDICT(expr, expected, probability)   (JSON_HEDLEY_STATIC_CAST(void, expected), (expr))
 
#define JSON_HEDLEY_PREDICT_TRUE(expr, probability)   (!!(expr))
 
#define JSON_HEDLEY_PREDICT_FALSE(expr, probability)   (!!(expr))
 
#define JSON_HEDLEY_LIKELY(expr)   (!!(expr))
 
#define JSON_HEDLEY_UNLIKELY(expr)   (!!(expr))
 
#define JSON_HEDLEY_UNPREDICTABLE(expr)   JSON_HEDLEY_PREDICT(expr, 1, 0.5)
 
#define JSON_HEDLEY_MALLOC
 
#define JSON_HEDLEY_PURE
 
#define JSON_HEDLEY_CONST   JSON_HEDLEY_PURE
 
#define JSON_HEDLEY_RESTRICT
 
#define JSON_HEDLEY_INLINE
 
#define JSON_HEDLEY_ALWAYS_INLINE   JSON_HEDLEY_INLINE
 
#define JSON_HEDLEY_NEVER_INLINE
 
#define JSON_HEDLEY_PRIVATE
 
#define JSON_HEDLEY_PUBLIC
 
#define JSON_HEDLEY_IMPORT   extern
 
#define JSON_HEDLEY_NO_THROW
 
#define JSON_HEDLEY_FALL_THROUGH
 
#define JSON_HEDLEY_RETURNS_NON_NULL
 
#define JSON_HEDLEY_ARRAY_PARAM(name)
 
#define JSON_HEDLEY_IS_CONSTANT(expr)   (0)
 
#define JSON_HEDLEY_REQUIRE_CONSTEXPR(expr)   (expr)
 
#define JSON_HEDLEY_BEGIN_C_DECLS   extern "C" {
 
#define JSON_HEDLEY_END_C_DECLS   }
 
#define JSON_HEDLEY_C_DECL   extern "C"
 
#define JSON_HEDLEY_STATIC_ASSERT(expr, message)
 
#define JSON_HEDLEY_NULL   JSON_HEDLEY_STATIC_CAST(void*, 0)
 
#define JSON_HEDLEY_MESSAGE(msg)
 
#define JSON_HEDLEY_WARNING(msg)   JSON_HEDLEY_MESSAGE(msg)
 
#define JSON_HEDLEY_REQUIRE(expr)
 
#define JSON_HEDLEY_REQUIRE_MSG(expr, msg)
 
#define JSON_HEDLEY_FLAGS
 
#define JSON_HEDLEY_FLAGS_CAST(T, expr)   JSON_HEDLEY_STATIC_CAST(T, expr)
 
#define JSON_HEDLEY_EMPTY_BASES
 
#define JSON_HEDLEY_GCC_NOT_CLANG_VERSION_CHECK(major, minor, patch)   JSON_HEDLEY_GCC_VERSION_CHECK(major,minor,patch)
 
#define JSON_HEDLEY_CLANG_HAS_ATTRIBUTE(attribute)   JSON_HEDLEY_HAS_ATTRIBUTE(attribute)
 
#define JSON_HEDLEY_CLANG_HAS_CPP_ATTRIBUTE(attribute)   JSON_HEDLEY_HAS_CPP_ATTRIBUTE(attribute)
 
#define JSON_HEDLEY_CLANG_HAS_BUILTIN(builtin)   JSON_HEDLEY_HAS_BUILTIN(builtin)
 
#define JSON_HEDLEY_CLANG_HAS_FEATURE(feature)   JSON_HEDLEY_HAS_FEATURE(feature)
 
#define JSON_HEDLEY_CLANG_HAS_EXTENSION(extension)   JSON_HEDLEY_HAS_EXTENSION(extension)
 
#define JSON_HEDLEY_CLANG_HAS_DECLSPEC_ATTRIBUTE(attribute)   JSON_HEDLEY_HAS_DECLSPEC_ATTRIBUTE(attribute)
 
#define JSON_HEDLEY_CLANG_HAS_WARNING(warning)   JSON_HEDLEY_HAS_WARNING(warning)
 

Macro Definition Documentation

◆ JSON_HEDLEY_ALWAYS_INLINE

#define JSON_HEDLEY_ALWAYS_INLINE   JSON_HEDLEY_INLINE

◆ JSON_HEDLEY_ARM_VERSION_CHECK

#define JSON_HEDLEY_ARM_VERSION_CHECK (   major,
  minor,
  patch 
)    (0)

◆ JSON_HEDLEY_ARRAY_PARAM

#define JSON_HEDLEY_ARRAY_PARAM (   name)

◆ JSON_HEDLEY_ASSUME

#define JSON_HEDLEY_ASSUME (   expr)    JSON_HEDLEY_STATIC_CAST(void, expr)

◆ JSON_HEDLEY_BEGIN_C_DECLS

#define JSON_HEDLEY_BEGIN_C_DECLS   extern "C" {

◆ JSON_HEDLEY_C_DECL

#define JSON_HEDLEY_C_DECL   extern "C"

◆ JSON_HEDLEY_CLANG_HAS_ATTRIBUTE

#define JSON_HEDLEY_CLANG_HAS_ATTRIBUTE (   attribute)    JSON_HEDLEY_HAS_ATTRIBUTE(attribute)

◆ JSON_HEDLEY_CLANG_HAS_BUILTIN

#define JSON_HEDLEY_CLANG_HAS_BUILTIN (   builtin)    JSON_HEDLEY_HAS_BUILTIN(builtin)

◆ JSON_HEDLEY_CLANG_HAS_CPP_ATTRIBUTE

#define JSON_HEDLEY_CLANG_HAS_CPP_ATTRIBUTE (   attribute)    JSON_HEDLEY_HAS_CPP_ATTRIBUTE(attribute)

◆ JSON_HEDLEY_CLANG_HAS_DECLSPEC_ATTRIBUTE

#define JSON_HEDLEY_CLANG_HAS_DECLSPEC_ATTRIBUTE (   attribute)    JSON_HEDLEY_HAS_DECLSPEC_ATTRIBUTE(attribute)

◆ JSON_HEDLEY_CLANG_HAS_EXTENSION

#define JSON_HEDLEY_CLANG_HAS_EXTENSION (   extension)    JSON_HEDLEY_HAS_EXTENSION(extension)

◆ JSON_HEDLEY_CLANG_HAS_FEATURE

#define JSON_HEDLEY_CLANG_HAS_FEATURE (   feature)    JSON_HEDLEY_HAS_FEATURE(feature)

◆ JSON_HEDLEY_CLANG_HAS_WARNING

#define JSON_HEDLEY_CLANG_HAS_WARNING (   warning)    JSON_HEDLEY_HAS_WARNING(warning)

◆ JSON_HEDLEY_COMPCERT_VERSION_CHECK

#define JSON_HEDLEY_COMPCERT_VERSION_CHECK (   major,
  minor,
  patch 
)    (0)

◆ JSON_HEDLEY_CONCAT

#define JSON_HEDLEY_CONCAT (   a,
 
)    JSON_HEDLEY_CONCAT_EX(a,b)

◆ JSON_HEDLEY_CONCAT3

#define JSON_HEDLEY_CONCAT3 (   a,
  b,
 
)    JSON_HEDLEY_CONCAT3_EX(a,b,c)

◆ JSON_HEDLEY_CONCAT3_EX

#define JSON_HEDLEY_CONCAT3_EX (   a,
  b,
 
)    a##b##c

◆ JSON_HEDLEY_CONCAT_EX

#define JSON_HEDLEY_CONCAT_EX (   a,
 
)    a##b

◆ JSON_HEDLEY_CONST

#define JSON_HEDLEY_CONST   JSON_HEDLEY_PURE

◆ JSON_HEDLEY_CONST_CAST

#define JSON_HEDLEY_CONST_CAST (   T,
  expr 
)    (const_cast<T>(expr))

◆ JSON_HEDLEY_CONSTEXPR

#define JSON_HEDLEY_CONSTEXPR

◆ JSON_HEDLEY_CPP_CAST

#define JSON_HEDLEY_CPP_CAST (   T,
  expr 
)    ((T) (expr))

◆ JSON_HEDLEY_CRAY_VERSION_CHECK

#define JSON_HEDLEY_CRAY_VERSION_CHECK (   major,
  minor,
  patch 
)    (0)

◆ JSON_HEDLEY_DEPRECATED

#define JSON_HEDLEY_DEPRECATED (   since)

◆ JSON_HEDLEY_DEPRECATED_FOR

#define JSON_HEDLEY_DEPRECATED_FOR (   since,
  replacement 
)

◆ JSON_HEDLEY_DIAGNOSTIC_DISABLE_CAST_QUAL

#define JSON_HEDLEY_DIAGNOSTIC_DISABLE_CAST_QUAL

◆ JSON_HEDLEY_DIAGNOSTIC_DISABLE_CPP98_COMPAT_WRAP_

#define JSON_HEDLEY_DIAGNOSTIC_DISABLE_CPP98_COMPAT_WRAP_ (   x)    x

◆ JSON_HEDLEY_DIAGNOSTIC_DISABLE_DEPRECATED

#define JSON_HEDLEY_DIAGNOSTIC_DISABLE_DEPRECATED

◆ JSON_HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_CPP_ATTRIBUTES

#define JSON_HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_CPP_ATTRIBUTES

◆ JSON_HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_PRAGMAS

#define JSON_HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_PRAGMAS

◆ JSON_HEDLEY_DIAGNOSTIC_DISABLE_UNUSED_FUNCTION

#define JSON_HEDLEY_DIAGNOSTIC_DISABLE_UNUSED_FUNCTION

◆ JSON_HEDLEY_DIAGNOSTIC_POP

#define JSON_HEDLEY_DIAGNOSTIC_POP

◆ JSON_HEDLEY_DIAGNOSTIC_PUSH

#define JSON_HEDLEY_DIAGNOSTIC_PUSH

◆ JSON_HEDLEY_DMC_VERSION_CHECK

#define JSON_HEDLEY_DMC_VERSION_CHECK (   major,
  minor,
  patch 
)    (0)

◆ JSON_HEDLEY_EMPTY_BASES

#define JSON_HEDLEY_EMPTY_BASES

◆ JSON_HEDLEY_EMSCRIPTEN_VERSION_CHECK

#define JSON_HEDLEY_EMSCRIPTEN_VERSION_CHECK (   major,
  minor,
  patch 
)    (0)

◆ JSON_HEDLEY_END_C_DECLS

#define JSON_HEDLEY_END_C_DECLS   }

◆ JSON_HEDLEY_FALL_THROUGH

#define JSON_HEDLEY_FALL_THROUGH

◆ JSON_HEDLEY_FLAGS

#define JSON_HEDLEY_FLAGS

◆ JSON_HEDLEY_FLAGS_CAST

#define JSON_HEDLEY_FLAGS_CAST (   T,
  expr 
)    JSON_HEDLEY_STATIC_CAST(T, expr)

◆ JSON_HEDLEY_GCC_HAS_ATTRIBUTE

#define JSON_HEDLEY_GCC_HAS_ATTRIBUTE (   attribute,
  major,
  minor,
  patch 
)    JSON_HEDLEY_GCC_VERSION_CHECK(major,minor,patch)

◆ JSON_HEDLEY_GCC_HAS_BUILTIN

#define JSON_HEDLEY_GCC_HAS_BUILTIN (   builtin,
  major,
  minor,
  patch 
)    JSON_HEDLEY_GCC_VERSION_CHECK(major,minor,patch)

◆ JSON_HEDLEY_GCC_HAS_CPP_ATTRIBUTE

#define JSON_HEDLEY_GCC_HAS_CPP_ATTRIBUTE (   attribute,
  major,
  minor,
  patch 
)    JSON_HEDLEY_GCC_VERSION_CHECK(major,minor,patch)

◆ JSON_HEDLEY_GCC_HAS_DECLSPEC_ATTRIBUTE

#define JSON_HEDLEY_GCC_HAS_DECLSPEC_ATTRIBUTE (   attribute,
  major,
  minor,
  patch 
)    JSON_HEDLEY_GCC_VERSION_CHECK(major,minor,patch)

◆ JSON_HEDLEY_GCC_HAS_EXTENSION

#define JSON_HEDLEY_GCC_HAS_EXTENSION (   extension,
  major,
  minor,
  patch 
)    JSON_HEDLEY_GCC_VERSION_CHECK(major,minor,patch)

◆ JSON_HEDLEY_GCC_HAS_FEATURE

#define JSON_HEDLEY_GCC_HAS_FEATURE (   feature,
  major,
  minor,
  patch 
)    JSON_HEDLEY_GCC_VERSION_CHECK(major,minor,patch)

◆ JSON_HEDLEY_GCC_HAS_WARNING

#define JSON_HEDLEY_GCC_HAS_WARNING (   warning,
  major,
  minor,
  patch 
)    JSON_HEDLEY_GCC_VERSION_CHECK(major,minor,patch)

◆ JSON_HEDLEY_GCC_NOT_CLANG_VERSION_CHECK

#define JSON_HEDLEY_GCC_NOT_CLANG_VERSION_CHECK (   major,
  minor,
  patch 
)    JSON_HEDLEY_GCC_VERSION_CHECK(major,minor,patch)

◆ JSON_HEDLEY_GCC_VERSION_CHECK

#define JSON_HEDLEY_GCC_VERSION_CHECK (   major,
  minor,
  patch 
)    (0)

◆ JSON_HEDLEY_GNUC_HAS_ATTRIBUTE

#define JSON_HEDLEY_GNUC_HAS_ATTRIBUTE (   attribute,
  major,
  minor,
  patch 
)    JSON_HEDLEY_GNUC_VERSION_CHECK(major,minor,patch)

◆ JSON_HEDLEY_GNUC_HAS_BUILTIN

#define JSON_HEDLEY_GNUC_HAS_BUILTIN (   builtin,
  major,
  minor,
  patch 
)    JSON_HEDLEY_GNUC_VERSION_CHECK(major,minor,patch)

◆ JSON_HEDLEY_GNUC_HAS_CPP_ATTRIBUTE

#define JSON_HEDLEY_GNUC_HAS_CPP_ATTRIBUTE (   attribute,
  major,
  minor,
  patch 
)    JSON_HEDLEY_GNUC_VERSION_CHECK(major,minor,patch)

◆ JSON_HEDLEY_GNUC_HAS_DECLSPEC_ATTRIBUTE

#define JSON_HEDLEY_GNUC_HAS_DECLSPEC_ATTRIBUTE (   attribute,
  major,
  minor,
  patch 
)    JSON_HEDLEY_GNUC_VERSION_CHECK(major,minor,patch)

◆ JSON_HEDLEY_GNUC_HAS_EXTENSION

#define JSON_HEDLEY_GNUC_HAS_EXTENSION (   extension,
  major,
  minor,
  patch 
)    JSON_HEDLEY_GNUC_VERSION_CHECK(major,minor,patch)

◆ JSON_HEDLEY_GNUC_HAS_FEATURE

#define JSON_HEDLEY_GNUC_HAS_FEATURE (   feature,
  major,
  minor,
  patch 
)    JSON_HEDLEY_GNUC_VERSION_CHECK(major,minor,patch)

◆ JSON_HEDLEY_GNUC_HAS_WARNING

#define JSON_HEDLEY_GNUC_HAS_WARNING (   warning,
  major,
  minor,
  patch 
)    JSON_HEDLEY_GNUC_VERSION_CHECK(major,minor,patch)

◆ JSON_HEDLEY_GNUC_VERSION_CHECK

#define JSON_HEDLEY_GNUC_VERSION_CHECK (   major,
  minor,
  patch 
)    (0)

◆ JSON_HEDLEY_HAS_ATTRIBUTE

#define JSON_HEDLEY_HAS_ATTRIBUTE (   attribute)    (0)

◆ JSON_HEDLEY_HAS_BUILTIN

#define JSON_HEDLEY_HAS_BUILTIN (   builtin)    (0)

◆ JSON_HEDLEY_HAS_CPP_ATTRIBUTE

#define JSON_HEDLEY_HAS_CPP_ATTRIBUTE (   attribute)    (0)

◆ JSON_HEDLEY_HAS_CPP_ATTRIBUTE_NS

#define JSON_HEDLEY_HAS_CPP_ATTRIBUTE_NS (   ns,
  attribute 
)    (0)

◆ JSON_HEDLEY_HAS_DECLSPEC_ATTRIBUTE

#define JSON_HEDLEY_HAS_DECLSPEC_ATTRIBUTE (   attribute)    (0)

◆ JSON_HEDLEY_HAS_EXTENSION

#define JSON_HEDLEY_HAS_EXTENSION (   extension)    (0)

◆ JSON_HEDLEY_HAS_FEATURE

#define JSON_HEDLEY_HAS_FEATURE (   feature)    (0)

◆ JSON_HEDLEY_HAS_WARNING

#define JSON_HEDLEY_HAS_WARNING (   warning)    (0)

◆ JSON_HEDLEY_IAR_VERSION_CHECK

#define JSON_HEDLEY_IAR_VERSION_CHECK (   major,
  minor,
  patch 
)    (0)

◆ JSON_HEDLEY_IBM_VERSION_CHECK

#define JSON_HEDLEY_IBM_VERSION_CHECK (   major,
  minor,
  patch 
)    (0)

◆ JSON_HEDLEY_IMPORT

#define JSON_HEDLEY_IMPORT   extern

◆ JSON_HEDLEY_INLINE

#define JSON_HEDLEY_INLINE

◆ JSON_HEDLEY_INTEL_CL_VERSION_CHECK

#define JSON_HEDLEY_INTEL_CL_VERSION_CHECK (   major,
  minor,
  patch 
)    (0)

◆ JSON_HEDLEY_INTEL_VERSION_CHECK

#define JSON_HEDLEY_INTEL_VERSION_CHECK (   major,
  minor,
  patch 
)    (0)

◆ JSON_HEDLEY_IS_CONSTANT

#define JSON_HEDLEY_IS_CONSTANT (   expr)    (0)

◆ JSON_HEDLEY_LIKELY

#define JSON_HEDLEY_LIKELY (   expr)    (!!(expr))

◆ JSON_HEDLEY_MALLOC

#define JSON_HEDLEY_MALLOC

◆ JSON_HEDLEY_MCST_LCC_VERSION_CHECK

#define JSON_HEDLEY_MCST_LCC_VERSION_CHECK (   major,
  minor,
  patch 
)    (0)

◆ JSON_HEDLEY_MESSAGE

#define JSON_HEDLEY_MESSAGE (   msg)

◆ JSON_HEDLEY_MSVC_VERSION_CHECK

#define JSON_HEDLEY_MSVC_VERSION_CHECK (   major,
  minor,
  patch 
)    (0)

◆ JSON_HEDLEY_NEVER_INLINE

#define JSON_HEDLEY_NEVER_INLINE

◆ JSON_HEDLEY_NO_ESCAPE

#define JSON_HEDLEY_NO_ESCAPE

◆ JSON_HEDLEY_NO_RETURN

#define JSON_HEDLEY_NO_RETURN

◆ JSON_HEDLEY_NO_THROW

#define JSON_HEDLEY_NO_THROW

◆ JSON_HEDLEY_NON_NULL

#define JSON_HEDLEY_NON_NULL (   ...)

◆ JSON_HEDLEY_NULL

#define JSON_HEDLEY_NULL   JSON_HEDLEY_STATIC_CAST(void*, 0)

◆ JSON_HEDLEY_PELLES_VERSION_CHECK

#define JSON_HEDLEY_PELLES_VERSION_CHECK (   major,
  minor,
  patch 
)    (0)

◆ JSON_HEDLEY_PGI_VERSION_CHECK

#define JSON_HEDLEY_PGI_VERSION_CHECK (   major,
  minor,
  patch 
)    (0)

◆ JSON_HEDLEY_PRAGMA

#define JSON_HEDLEY_PRAGMA (   value)

◆ JSON_HEDLEY_PREDICT

#define JSON_HEDLEY_PREDICT (   expr,
  expected,
  probability 
)    (JSON_HEDLEY_STATIC_CAST(void, expected), (expr))

◆ JSON_HEDLEY_PREDICT_FALSE

#define JSON_HEDLEY_PREDICT_FALSE (   expr,
  probability 
)    (!!(expr))

◆ JSON_HEDLEY_PREDICT_TRUE

#define JSON_HEDLEY_PREDICT_TRUE (   expr,
  probability 
)    (!!(expr))

◆ JSON_HEDLEY_PRINTF_FORMAT

#define JSON_HEDLEY_PRINTF_FORMAT (   string_idx,
  first_to_check 
)

◆ JSON_HEDLEY_PRIVATE

#define JSON_HEDLEY_PRIVATE

◆ JSON_HEDLEY_PUBLIC

#define JSON_HEDLEY_PUBLIC

◆ JSON_HEDLEY_PURE

#define JSON_HEDLEY_PURE

◆ JSON_HEDLEY_REINTERPRET_CAST

#define JSON_HEDLEY_REINTERPRET_CAST (   T,
  expr 
)    (reinterpret_cast<T>(expr))

◆ JSON_HEDLEY_REQUIRE

#define JSON_HEDLEY_REQUIRE (   expr)

◆ JSON_HEDLEY_REQUIRE_CONSTEXPR

#define JSON_HEDLEY_REQUIRE_CONSTEXPR (   expr)    (expr)

◆ JSON_HEDLEY_REQUIRE_MSG

#define JSON_HEDLEY_REQUIRE_MSG (   expr,
  msg 
)

◆ JSON_HEDLEY_RESTRICT

#define JSON_HEDLEY_RESTRICT

◆ JSON_HEDLEY_RETURNS_NON_NULL

#define JSON_HEDLEY_RETURNS_NON_NULL

◆ JSON_HEDLEY_SENTINEL

#define JSON_HEDLEY_SENTINEL (   position)

◆ JSON_HEDLEY_STATIC_ASSERT

#define JSON_HEDLEY_STATIC_ASSERT (   expr,
  message 
)

◆ JSON_HEDLEY_STATIC_CAST

#define JSON_HEDLEY_STATIC_CAST (   T,
  expr 
)    (static_cast<T>(expr))

◆ JSON_HEDLEY_STRINGIFY

#define JSON_HEDLEY_STRINGIFY (   x)    JSON_HEDLEY_STRINGIFY_EX(x)

◆ JSON_HEDLEY_STRINGIFY_EX

#define JSON_HEDLEY_STRINGIFY_EX (   x)    #x

◆ JSON_HEDLEY_SUNPRO_VERSION_CHECK

#define JSON_HEDLEY_SUNPRO_VERSION_CHECK (   major,
  minor,
  patch 
)    (0)

◆ JSON_HEDLEY_TI_ARMCL_VERSION_CHECK

#define JSON_HEDLEY_TI_ARMCL_VERSION_CHECK (   major,
  minor,
  patch 
)    (0)

◆ JSON_HEDLEY_TI_CL2000_VERSION_CHECK

#define JSON_HEDLEY_TI_CL2000_VERSION_CHECK (   major,
  minor,
  patch 
)    (0)

◆ JSON_HEDLEY_TI_CL430_VERSION_CHECK

#define JSON_HEDLEY_TI_CL430_VERSION_CHECK (   major,
  minor,
  patch 
)    (0)

◆ JSON_HEDLEY_TI_CL6X_VERSION_CHECK

#define JSON_HEDLEY_TI_CL6X_VERSION_CHECK (   major,
  minor,
  patch 
)    (0)

◆ JSON_HEDLEY_TI_CL7X_VERSION_CHECK

#define JSON_HEDLEY_TI_CL7X_VERSION_CHECK (   major,
  minor,
  patch 
)    (0)

◆ JSON_HEDLEY_TI_CLPRU_VERSION_CHECK

#define JSON_HEDLEY_TI_CLPRU_VERSION_CHECK (   major,
  minor,
  patch 
)    (0)

◆ JSON_HEDLEY_TI_VERSION_CHECK

#define JSON_HEDLEY_TI_VERSION_CHECK (   major,
  minor,
  patch 
)    (0)

◆ JSON_HEDLEY_TINYC_VERSION_CHECK

#define JSON_HEDLEY_TINYC_VERSION_CHECK (   major,
  minor,
  patch 
)    (0)

◆ JSON_HEDLEY_UNAVAILABLE

#define JSON_HEDLEY_UNAVAILABLE (   available_since)

◆ JSON_HEDLEY_UNLIKELY

#define JSON_HEDLEY_UNLIKELY (   expr)    (!!(expr))

◆ JSON_HEDLEY_UNPREDICTABLE

#define JSON_HEDLEY_UNPREDICTABLE (   expr)    JSON_HEDLEY_PREDICT(expr, 1, 0.5)

◆ JSON_HEDLEY_UNREACHABLE

#define JSON_HEDLEY_UNREACHABLE ( )    JSON_HEDLEY_ASSUME(0)

◆ JSON_HEDLEY_UNREACHABLE_RETURN

#define JSON_HEDLEY_UNREACHABLE_RETURN (   value)    return (value)

◆ JSON_HEDLEY_VERSION

#define JSON_HEDLEY_VERSION   15

◆ JSON_HEDLEY_VERSION_DECODE_MAJOR

#define JSON_HEDLEY_VERSION_DECODE_MAJOR (   version)    ((version) / 1000000)

◆ JSON_HEDLEY_VERSION_DECODE_MINOR

#define JSON_HEDLEY_VERSION_DECODE_MINOR (   version)    (((version) % 1000000) / 1000)

◆ JSON_HEDLEY_VERSION_DECODE_REVISION

#define JSON_HEDLEY_VERSION_DECODE_REVISION (   version)    ((version) % 1000)

◆ JSON_HEDLEY_VERSION_ENCODE

#define JSON_HEDLEY_VERSION_ENCODE (   major,
  minor,
  revision 
)    (((major) * 1000000) + ((minor) * 1000) + (revision))

◆ JSON_HEDLEY_WARN_UNUSED_RESULT

#define JSON_HEDLEY_WARN_UNUSED_RESULT

◆ JSON_HEDLEY_WARN_UNUSED_RESULT_MSG

#define JSON_HEDLEY_WARN_UNUSED_RESULT_MSG (   msg)

◆ JSON_HEDLEY_WARNING

#define JSON_HEDLEY_WARNING (   msg)    JSON_HEDLEY_MESSAGE(msg)