proxsuite 0.6.7
The Advanced Proximal Optimization Toolbox
Loading...
Searching...
No Matches
hedley.ext.hpp File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define HEDLEY_VERSION   14
 
#define HEDLEY_STRINGIFY_EX(x)   #x
 
#define HEDLEY_STRINGIFY(x)   HEDLEY_STRINGIFY_EX(x)
 
#define HEDLEY_CONCAT_EX(a, b)   a##b
 
#define HEDLEY_CONCAT(a, b)   HEDLEY_CONCAT_EX(a, b)
 
#define HEDLEY_CONCAT3_EX(a, b, c)   a##b##c
 
#define HEDLEY_CONCAT3(a, b, c)   HEDLEY_CONCAT3_EX(a, b, c)
 
#define HEDLEY_VERSION_ENCODE(major, minor, revision)    (((major) * 1000000) + ((minor) * 1000) + (revision))
 
#define HEDLEY_VERSION_DECODE_MAJOR(version)   ((version) / 1000000)
 
#define HEDLEY_VERSION_DECODE_MINOR(version)   (((version) % 1000000) / 1000)
 
#define HEDLEY_VERSION_DECODE_REVISION(version)   ((version) % 1000)
 
#define HEDLEY_GNUC_VERSION_CHECK(major, minor, patch)   (0)
 
#define HEDLEY_MSVC_VERSION_CHECK(major, minor, patch)   (0)
 
#define HEDLEY_INTEL_VERSION_CHECK(major, minor, patch)   (0)
 
#define HEDLEY_INTEL_CL_VERSION_CHECK(major, minor, patch)   (0)
 
#define HEDLEY_PGI_VERSION_CHECK(major, minor, patch)   (0)
 
#define HEDLEY_SUNPRO_VERSION_CHECK(major, minor, patch)   (0)
 
#define HEDLEY_EMSCRIPTEN_VERSION_CHECK(major, minor, patch)   (0)
 
#define HEDLEY_ARM_VERSION_CHECK(major, minor, patch)   (0)
 
#define HEDLEY_IBM_VERSION_CHECK(major, minor, patch)   (0)
 
#define HEDLEY_TI_VERSION_CHECK(major, minor, patch)   (0)
 
#define HEDLEY_TI_CL2000_VERSION_CHECK(major, minor, patch)   (0)
 
#define HEDLEY_TI_CL430_VERSION_CHECK(major, minor, patch)   (0)
 
#define HEDLEY_TI_ARMCL_VERSION_CHECK(major, minor, patch)   (0)
 
#define HEDLEY_TI_CL6X_VERSION_CHECK(major, minor, patch)   (0)
 
#define HEDLEY_TI_CL7X_VERSION_CHECK(major, minor, patch)   (0)
 
#define HEDLEY_TI_CLPRU_VERSION_CHECK(major, minor, patch)   (0)
 
#define HEDLEY_CRAY_VERSION_CHECK(major, minor, patch)   (0)
 
#define HEDLEY_IAR_VERSION_CHECK(major, minor, patch)   (0)
 
#define HEDLEY_TINYC_VERSION_CHECK(major, minor, patch)   (0)
 
#define HEDLEY_DMC_VERSION_CHECK(major, minor, patch)   (0)
 
#define HEDLEY_COMPCERT_VERSION_CHECK(major, minor, patch)   (0)
 
#define HEDLEY_PELLES_VERSION_CHECK(major, minor, patch)   (0)
 
#define HEDLEY_GCC_VERSION_CHECK(major, minor, patch)   (0)
 
#define HEDLEY_HAS_ATTRIBUTE(attribute)   (0)
 
#define HEDLEY_GNUC_HAS_ATTRIBUTE(attribute, major, minor, patch)    HEDLEY_GNUC_VERSION_CHECK(major, minor, patch)
 
#define HEDLEY_GCC_HAS_ATTRIBUTE(attribute, major, minor, patch)    HEDLEY_GCC_VERSION_CHECK(major, minor, patch)
 
#define HEDLEY_HAS_CPP_ATTRIBUTE(attribute)   (0)
 
#define HEDLEY_HAS_CPP_ATTRIBUTE_NS(ns, attribute)   (0)
 
#define HEDLEY_GNUC_HAS_CPP_ATTRIBUTE(attribute, major, minor, patch)    HEDLEY_GNUC_VERSION_CHECK(major, minor, patch)
 
#define HEDLEY_GCC_HAS_CPP_ATTRIBUTE(attribute, major, minor, patch)    HEDLEY_GCC_VERSION_CHECK(major, minor, patch)
 
#define HEDLEY_HAS_BUILTIN(builtin)   (0)
 
#define HEDLEY_GNUC_HAS_BUILTIN(builtin, major, minor, patch)    HEDLEY_GNUC_VERSION_CHECK(major, minor, patch)
 
#define HEDLEY_GCC_HAS_BUILTIN(builtin, major, minor, patch)    HEDLEY_GCC_VERSION_CHECK(major, minor, patch)
 
#define HEDLEY_HAS_FEATURE(feature)   (0)
 
#define HEDLEY_GNUC_HAS_FEATURE(feature, major, minor, patch)    HEDLEY_GNUC_VERSION_CHECK(major, minor, patch)
 
#define HEDLEY_GCC_HAS_FEATURE(feature, major, minor, patch)    HEDLEY_GCC_VERSION_CHECK(major, minor, patch)
 
#define HEDLEY_HAS_EXTENSION(extension)   (0)
 
#define HEDLEY_GNUC_HAS_EXTENSION(extension, major, minor, patch)    HEDLEY_GNUC_VERSION_CHECK(major, minor, patch)
 
#define HEDLEY_GCC_HAS_EXTENSION(extension, major, minor, patch)    HEDLEY_GCC_VERSION_CHECK(major, minor, patch)
 
#define HEDLEY_HAS_DECLSPEC_ATTRIBUTE(attribute)   (0)
 
#define HEDLEY_GNUC_HAS_DECLSPEC_ATTRIBUTE(attribute, major, minor, patch)    HEDLEY_GNUC_VERSION_CHECK(major, minor, patch)
 
#define HEDLEY_GCC_HAS_DECLSPEC_ATTRIBUTE(attribute, major, minor, patch)    HEDLEY_GCC_VERSION_CHECK(major, minor, patch)
 
#define HEDLEY_HAS_WARNING(warning)   (0)
 
#define HEDLEY_GNUC_HAS_WARNING(warning, major, minor, patch)    HEDLEY_GNUC_VERSION_CHECK(major, minor, patch)
 
#define HEDLEY_GCC_HAS_WARNING(warning, major, minor, patch)    HEDLEY_GCC_VERSION_CHECK(major, minor, patch)
 
#define HEDLEY_PRAGMA(value)
 
#define HEDLEY_DIAGNOSTIC_PUSH
 
#define HEDLEY_DIAGNOSTIC_POP
 
#define HEDLEY_DIAGNOSTIC_DISABLE_CPP98_COMPAT_WRAP_(x)   x
 
#define HEDLEY_CONST_CAST(T, expr)   ((T)(expr))
 
#define HEDLEY_REINTERPRET_CAST(T, expr)   ((T)(expr))
 
#define HEDLEY_STATIC_CAST(T, expr)   ((T)(expr))
 
#define HEDLEY_CPP_CAST(T, expr)   (expr)
 
#define HEDLEY_DIAGNOSTIC_DISABLE_DEPRECATED
 
#define HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_PRAGMAS
 
#define HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_CPP_ATTRIBUTES
 
#define HEDLEY_DIAGNOSTIC_DISABLE_CAST_QUAL
 
#define HEDLEY_DEPRECATED(since)
 
#define HEDLEY_DEPRECATED_FOR(since, replacement)
 
#define HEDLEY_UNAVAILABLE(available_since)
 
#define HEDLEY_WARN_UNUSED_RESULT
 
#define HEDLEY_WARN_UNUSED_RESULT_MSG(msg)
 
#define HEDLEY_SENTINEL(position)
 
#define HEDLEY_NO_RETURN
 
#define HEDLEY_NO_ESCAPE
 
#define HEDLEY_ASSUME(expr)   HEDLEY_STATIC_CAST(void, expr)
 
#define HEDLEY_UNREACHABLE_RETURN(value)   return (value)
 
#define HEDLEY_UNREACHABLE()   HEDLEY_ASSUME(0)
 
#define HEDLEY_NON_NULL(...)
 
#define HEDLEY_PRINTF_FORMAT(string_idx, first_to_check)
 
#define HEDLEY_CONSTEXPR
 
#define HEDLEY_PREDICT(expr, expected, probability)    (HEDLEY_STATIC_CAST(void, expected), (expr))
 
#define HEDLEY_PREDICT_TRUE(expr, probability)   (!!(expr))
 
#define HEDLEY_PREDICT_FALSE(expr, probability)   (!!(expr))
 
#define HEDLEY_LIKELY(expr)   (!!(expr))
 
#define HEDLEY_UNLIKELY(expr)   (!!(expr))
 
#define HEDLEY_UNPREDICTABLE(expr)   HEDLEY_PREDICT(expr, 1, 0.5)
 
#define HEDLEY_MALLOC
 
#define HEDLEY_PURE
 
#define HEDLEY_CONST   HEDLEY_PURE
 
#define HEDLEY_RESTRICT
 
#define HEDLEY_INLINE
 
#define HEDLEY_ALWAYS_INLINE   HEDLEY_INLINE
 
#define HEDLEY_NEVER_INLINE
 
#define HEDLEY_PRIVATE
 
#define HEDLEY_PUBLIC
 
#define HEDLEY_IMPORT   extern
 
#define HEDLEY_NO_THROW
 
#define HEDLEY_FALL_THROUGH
 
#define HEDLEY_RETURNS_NON_NULL
 
#define HEDLEY_ARRAY_PARAM(name)
 
#define HEDLEY_IS_CONSTANT(expr)   (0)
 
#define HEDLEY_REQUIRE_CONSTEXPR(expr)   (expr)
 
#define HEDLEY_BEGIN_C_DECLS
 
#define HEDLEY_END_C_DECLS
 
#define HEDLEY_C_DECL
 
#define HEDLEY_STATIC_ASSERT(expr, message)
 
#define HEDLEY_NULL   ((void*)0)
 
#define HEDLEY_MESSAGE(msg)
 
#define HEDLEY_WARNING(msg)   HEDLEY_MESSAGE(msg)
 
#define HEDLEY_REQUIRE(expr)
 
#define HEDLEY_REQUIRE_MSG(expr, msg)
 
#define HEDLEY_FLAGS
 
#define HEDLEY_FLAGS_CAST(T, expr)   HEDLEY_STATIC_CAST(T, expr)
 
#define HEDLEY_EMPTY_BASES
 
#define HEDLEY_GCC_NOT_CLANG_VERSION_CHECK(major, minor, patch)    HEDLEY_GCC_VERSION_CHECK(major, minor, patch)
 
#define HEDLEY_CLANG_HAS_ATTRIBUTE(attribute)   HEDLEY_HAS_ATTRIBUTE(attribute)
 
#define HEDLEY_CLANG_HAS_CPP_ATTRIBUTE(attribute)    HEDLEY_HAS_CPP_ATTRIBUTE(attribute)
 
#define HEDLEY_CLANG_HAS_BUILTIN(builtin)   HEDLEY_HAS_BUILTIN(builtin)
 
#define HEDLEY_CLANG_HAS_FEATURE(feature)   HEDLEY_HAS_FEATURE(feature)
 
#define HEDLEY_CLANG_HAS_EXTENSION(extension)   HEDLEY_HAS_EXTENSION(extension)
 
#define HEDLEY_CLANG_HAS_DECLSPEC_ATTRIBUTE(attribute)    HEDLEY_HAS_DECLSPEC_ATTRIBUTE(attribute)
 
#define HEDLEY_CLANG_HAS_WARNING(warning)   HEDLEY_HAS_WARNING(warning)
 

Macro Definition Documentation

◆ HEDLEY_VERSION

#define HEDLEY_VERSION   14

Definition at line 17 of file hedley.ext.hpp.

◆ HEDLEY_STRINGIFY_EX

#define HEDLEY_STRINGIFY_EX ( x)    #x

Definition at line 22 of file hedley.ext.hpp.

◆ HEDLEY_STRINGIFY

#define HEDLEY_STRINGIFY ( x)    HEDLEY_STRINGIFY_EX(x)

Definition at line 27 of file hedley.ext.hpp.

◆ HEDLEY_CONCAT_EX

#define HEDLEY_CONCAT_EX ( a,
b )   a##b

Definition at line 32 of file hedley.ext.hpp.

◆ HEDLEY_CONCAT

#define HEDLEY_CONCAT ( a,
b )   HEDLEY_CONCAT_EX(a, b)

Definition at line 37 of file hedley.ext.hpp.

◆ HEDLEY_CONCAT3_EX

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

Definition at line 42 of file hedley.ext.hpp.

◆ HEDLEY_CONCAT3

#define HEDLEY_CONCAT3 ( a,
b,
c )   HEDLEY_CONCAT3_EX(a, b, c)

Definition at line 47 of file hedley.ext.hpp.

◆ HEDLEY_VERSION_ENCODE

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

Definition at line 52 of file hedley.ext.hpp.

◆ HEDLEY_VERSION_DECODE_MAJOR

#define HEDLEY_VERSION_DECODE_MAJOR ( version)    ((version) / 1000000)

Definition at line 58 of file hedley.ext.hpp.

◆ HEDLEY_VERSION_DECODE_MINOR

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

Definition at line 63 of file hedley.ext.hpp.

◆ HEDLEY_VERSION_DECODE_REVISION

#define HEDLEY_VERSION_DECODE_REVISION ( version)    ((version) % 1000)

Definition at line 68 of file hedley.ext.hpp.

◆ HEDLEY_GNUC_VERSION_CHECK

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

Definition at line 87 of file hedley.ext.hpp.

◆ HEDLEY_MSVC_VERSION_CHECK

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

Definition at line 112 of file hedley.ext.hpp.

◆ HEDLEY_INTEL_VERSION_CHECK

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

Definition at line 144 of file hedley.ext.hpp.

◆ HEDLEY_INTEL_CL_VERSION_CHECK

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

Definition at line 163 of file hedley.ext.hpp.

◆ HEDLEY_PGI_VERSION_CHECK

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

Definition at line 182 of file hedley.ext.hpp.

◆ HEDLEY_SUNPRO_VERSION_CHECK

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

Definition at line 217 of file hedley.ext.hpp.

◆ HEDLEY_EMSCRIPTEN_VERSION_CHECK

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

Definition at line 236 of file hedley.ext.hpp.

◆ HEDLEY_ARM_VERSION_CHECK

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

Definition at line 261 of file hedley.ext.hpp.

◆ HEDLEY_IBM_VERSION_CHECK

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

Definition at line 286 of file hedley.ext.hpp.

◆ HEDLEY_TI_VERSION_CHECK

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

Definition at line 310 of file hedley.ext.hpp.

◆ HEDLEY_TI_CL2000_VERSION_CHECK

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

Definition at line 330 of file hedley.ext.hpp.

◆ HEDLEY_TI_CL430_VERSION_CHECK

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

Definition at line 350 of file hedley.ext.hpp.

◆ HEDLEY_TI_ARMCL_VERSION_CHECK

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

Definition at line 371 of file hedley.ext.hpp.

◆ HEDLEY_TI_CL6X_VERSION_CHECK

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

Definition at line 391 of file hedley.ext.hpp.

◆ HEDLEY_TI_CL7X_VERSION_CHECK

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

Definition at line 411 of file hedley.ext.hpp.

◆ HEDLEY_TI_CLPRU_VERSION_CHECK

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

Definition at line 431 of file hedley.ext.hpp.

◆ HEDLEY_CRAY_VERSION_CHECK

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

Definition at line 454 of file hedley.ext.hpp.

◆ HEDLEY_IAR_VERSION_CHECK

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

Definition at line 477 of file hedley.ext.hpp.

◆ HEDLEY_TINYC_VERSION_CHECK

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

Definition at line 496 of file hedley.ext.hpp.

◆ HEDLEY_DMC_VERSION_CHECK

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

Definition at line 514 of file hedley.ext.hpp.

◆ HEDLEY_COMPCERT_VERSION_CHECK

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

Definition at line 534 of file hedley.ext.hpp.

◆ HEDLEY_PELLES_VERSION_CHECK

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

Definition at line 552 of file hedley.ext.hpp.

◆ HEDLEY_GCC_VERSION_CHECK

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

Definition at line 575 of file hedley.ext.hpp.

◆ HEDLEY_HAS_ATTRIBUTE

#define HEDLEY_HAS_ATTRIBUTE ( attribute)    (0)

Definition at line 584 of file hedley.ext.hpp.

◆ HEDLEY_GNUC_HAS_ATTRIBUTE

#define HEDLEY_GNUC_HAS_ATTRIBUTE ( attribute,
major,
minor,
patch )    HEDLEY_GNUC_VERSION_CHECK(major, minor, patch)

Definition at line 594 of file hedley.ext.hpp.

◆ HEDLEY_GCC_HAS_ATTRIBUTE

#define HEDLEY_GCC_HAS_ATTRIBUTE ( attribute,
major,
minor,
patch )    HEDLEY_GCC_VERSION_CHECK(major, minor, patch)

Definition at line 605 of file hedley.ext.hpp.

◆ HEDLEY_HAS_CPP_ATTRIBUTE

#define HEDLEY_HAS_CPP_ATTRIBUTE ( attribute)    (0)

Definition at line 616 of file hedley.ext.hpp.

◆ HEDLEY_HAS_CPP_ATTRIBUTE_NS

#define HEDLEY_HAS_CPP_ATTRIBUTE_NS ( ns,
attribute )   (0)

Definition at line 623 of file hedley.ext.hpp.

◆ HEDLEY_GNUC_HAS_CPP_ATTRIBUTE

#define HEDLEY_GNUC_HAS_CPP_ATTRIBUTE ( attribute,
major,
minor,
patch )    HEDLEY_GNUC_VERSION_CHECK(major, minor, patch)

Definition at line 641 of file hedley.ext.hpp.

◆ HEDLEY_GCC_HAS_CPP_ATTRIBUTE

#define HEDLEY_GCC_HAS_CPP_ATTRIBUTE ( attribute,
major,
minor,
patch )    HEDLEY_GCC_VERSION_CHECK(major, minor, patch)

Definition at line 652 of file hedley.ext.hpp.

◆ HEDLEY_HAS_BUILTIN

#define HEDLEY_HAS_BUILTIN ( builtin)    (0)

Definition at line 662 of file hedley.ext.hpp.

◆ HEDLEY_GNUC_HAS_BUILTIN

#define HEDLEY_GNUC_HAS_BUILTIN ( builtin,
major,
minor,
patch )    HEDLEY_GNUC_VERSION_CHECK(major, minor, patch)

Definition at line 672 of file hedley.ext.hpp.

◆ HEDLEY_GCC_HAS_BUILTIN

#define HEDLEY_GCC_HAS_BUILTIN ( builtin,
major,
minor,
patch )    HEDLEY_GCC_VERSION_CHECK(major, minor, patch)

Definition at line 683 of file hedley.ext.hpp.

◆ HEDLEY_HAS_FEATURE

#define HEDLEY_HAS_FEATURE ( feature)    (0)

Definition at line 693 of file hedley.ext.hpp.

◆ HEDLEY_GNUC_HAS_FEATURE

#define HEDLEY_GNUC_HAS_FEATURE ( feature,
major,
minor,
patch )    HEDLEY_GNUC_VERSION_CHECK(major, minor, patch)

Definition at line 703 of file hedley.ext.hpp.

◆ HEDLEY_GCC_HAS_FEATURE

#define HEDLEY_GCC_HAS_FEATURE ( feature,
major,
minor,
patch )    HEDLEY_GCC_VERSION_CHECK(major, minor, patch)

Definition at line 714 of file hedley.ext.hpp.

◆ HEDLEY_HAS_EXTENSION

#define HEDLEY_HAS_EXTENSION ( extension)    (0)

Definition at line 724 of file hedley.ext.hpp.

◆ HEDLEY_GNUC_HAS_EXTENSION

#define HEDLEY_GNUC_HAS_EXTENSION ( extension,
major,
minor,
patch )    HEDLEY_GNUC_VERSION_CHECK(major, minor, patch)

Definition at line 734 of file hedley.ext.hpp.

◆ HEDLEY_GCC_HAS_EXTENSION

#define HEDLEY_GCC_HAS_EXTENSION ( extension,
major,
minor,
patch )    HEDLEY_GCC_VERSION_CHECK(major, minor, patch)

Definition at line 745 of file hedley.ext.hpp.

◆ HEDLEY_HAS_DECLSPEC_ATTRIBUTE

#define HEDLEY_HAS_DECLSPEC_ATTRIBUTE ( attribute)    (0)

Definition at line 756 of file hedley.ext.hpp.

◆ HEDLEY_GNUC_HAS_DECLSPEC_ATTRIBUTE

#define HEDLEY_GNUC_HAS_DECLSPEC_ATTRIBUTE ( attribute,
major,
minor,
patch )    HEDLEY_GNUC_VERSION_CHECK(major, minor, patch)

Definition at line 766 of file hedley.ext.hpp.

◆ HEDLEY_GCC_HAS_DECLSPEC_ATTRIBUTE

#define HEDLEY_GCC_HAS_DECLSPEC_ATTRIBUTE ( attribute,
major,
minor,
patch )    HEDLEY_GCC_VERSION_CHECK(major, minor, patch)

Definition at line 777 of file hedley.ext.hpp.

◆ HEDLEY_HAS_WARNING

#define HEDLEY_HAS_WARNING ( warning)    (0)

Definition at line 787 of file hedley.ext.hpp.

◆ HEDLEY_GNUC_HAS_WARNING

#define HEDLEY_GNUC_HAS_WARNING ( warning,
major,
minor,
patch )    HEDLEY_GNUC_VERSION_CHECK(major, minor, patch)

Definition at line 797 of file hedley.ext.hpp.

◆ HEDLEY_GCC_HAS_WARNING

#define HEDLEY_GCC_HAS_WARNING ( warning,
major,
minor,
patch )    HEDLEY_GCC_VERSION_CHECK(major, minor, patch)

Definition at line 808 of file hedley.ext.hpp.

◆ HEDLEY_PRAGMA

#define HEDLEY_PRAGMA ( value)

Definition at line 831 of file hedley.ext.hpp.

◆ HEDLEY_DIAGNOSTIC_PUSH

#define HEDLEY_DIAGNOSTIC_PUSH

Definition at line 868 of file hedley.ext.hpp.

◆ HEDLEY_DIAGNOSTIC_POP

#define HEDLEY_DIAGNOSTIC_POP

Definition at line 869 of file hedley.ext.hpp.

◆ HEDLEY_DIAGNOSTIC_DISABLE_CPP98_COMPAT_WRAP_

#define HEDLEY_DIAGNOSTIC_DISABLE_CPP98_COMPAT_WRAP_ ( x)    x

Definition at line 903 of file hedley.ext.hpp.

◆ HEDLEY_CONST_CAST

#define HEDLEY_CONST_CAST ( T,
expr )   ((T)(expr))

Definition at line 920 of file hedley.ext.hpp.

◆ HEDLEY_REINTERPRET_CAST

#define HEDLEY_REINTERPRET_CAST ( T,
expr )   ((T)(expr))

Definition at line 929 of file hedley.ext.hpp.

◆ HEDLEY_STATIC_CAST

#define HEDLEY_STATIC_CAST ( T,
expr )   ((T)(expr))

Definition at line 938 of file hedley.ext.hpp.

◆ HEDLEY_CPP_CAST

#define HEDLEY_CPP_CAST ( T,
expr )   (expr)

Definition at line 958 of file hedley.ext.hpp.

◆ HEDLEY_DIAGNOSTIC_DISABLE_DEPRECATED

#define HEDLEY_DIAGNOSTIC_DISABLE_DEPRECATED

Definition at line 1011 of file hedley.ext.hpp.

◆ HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_PRAGMAS

#define HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_PRAGMAS

Definition at line 1044 of file hedley.ext.hpp.

◆ HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_CPP_ATTRIBUTES

#define HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_CPP_ATTRIBUTES

Definition at line 1083 of file hedley.ext.hpp.

◆ HEDLEY_DIAGNOSTIC_DISABLE_CAST_QUAL

#define HEDLEY_DIAGNOSTIC_DISABLE_CAST_QUAL

Definition at line 1099 of file hedley.ext.hpp.

◆ HEDLEY_DEPRECATED

#define HEDLEY_DEPRECATED ( since)

Definition at line 1161 of file hedley.ext.hpp.

◆ HEDLEY_DEPRECATED_FOR

#define HEDLEY_DEPRECATED_FOR ( since,
replacement )

Definition at line 1162 of file hedley.ext.hpp.

◆ HEDLEY_UNAVAILABLE

#define HEDLEY_UNAVAILABLE ( available_since)

Definition at line 1173 of file hedley.ext.hpp.

◆ HEDLEY_WARN_UNUSED_RESULT

#define HEDLEY_WARN_UNUSED_RESULT

Definition at line 1218 of file hedley.ext.hpp.

◆ HEDLEY_WARN_UNUSED_RESULT_MSG

#define HEDLEY_WARN_UNUSED_RESULT_MSG ( msg)

Definition at line 1219 of file hedley.ext.hpp.

◆ HEDLEY_SENTINEL

#define HEDLEY_SENTINEL ( position)

Definition at line 1229 of file hedley.ext.hpp.

◆ HEDLEY_NO_RETURN

#define HEDLEY_NO_RETURN

Definition at line 1275 of file hedley.ext.hpp.

◆ HEDLEY_NO_ESCAPE

#define HEDLEY_NO_ESCAPE

Definition at line 1284 of file hedley.ext.hpp.

◆ HEDLEY_ASSUME

#define HEDLEY_ASSUME ( expr)    HEDLEY_STATIC_CAST(void, expr)

Definition at line 1323 of file hedley.ext.hpp.

◆ HEDLEY_UNREACHABLE_RETURN

#define HEDLEY_UNREACHABLE_RETURN ( value)    return (value)

Definition at line 1335 of file hedley.ext.hpp.

◆ HEDLEY_UNREACHABLE

#define HEDLEY_UNREACHABLE ( )    HEDLEY_ASSUME(0)

Definition at line 1338 of file hedley.ext.hpp.

◆ HEDLEY_NON_NULL

#define HEDLEY_NON_NULL ( ...)

Definition at line 1362 of file hedley.ext.hpp.

◆ HEDLEY_PRINTF_FORMAT

#define HEDLEY_PRINTF_FORMAT ( string_idx,
first_to_check )

Definition at line 1400 of file hedley.ext.hpp.

◆ HEDLEY_CONSTEXPR

#define HEDLEY_CONSTEXPR

Definition at line 1412 of file hedley.ext.hpp.

◆ HEDLEY_PREDICT

#define HEDLEY_PREDICT ( expr,
expected,
probability )    (HEDLEY_STATIC_CAST(void, expected), (expr))

Definition at line 1476 of file hedley.ext.hpp.

◆ HEDLEY_PREDICT_TRUE

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

Definition at line 1478 of file hedley.ext.hpp.

◆ HEDLEY_PREDICT_FALSE

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

Definition at line 1479 of file hedley.ext.hpp.

◆ HEDLEY_LIKELY

#define HEDLEY_LIKELY ( expr)    (!!(expr))

Definition at line 1480 of file hedley.ext.hpp.

◆ HEDLEY_UNLIKELY

#define HEDLEY_UNLIKELY ( expr)    (!!(expr))

Definition at line 1481 of file hedley.ext.hpp.

◆ HEDLEY_UNPREDICTABLE

#define HEDLEY_UNPREDICTABLE ( expr)    HEDLEY_PREDICT(expr, 1, 0.5)

Definition at line 1484 of file hedley.ext.hpp.

◆ HEDLEY_MALLOC

#define HEDLEY_MALLOC

Definition at line 1516 of file hedley.ext.hpp.

◆ HEDLEY_PURE

#define HEDLEY_PURE

Definition at line 1550 of file hedley.ext.hpp.

◆ HEDLEY_CONST

#define HEDLEY_CONST   HEDLEY_PURE

Definition at line 1580 of file hedley.ext.hpp.

◆ HEDLEY_RESTRICT

#define HEDLEY_RESTRICT

Definition at line 1605 of file hedley.ext.hpp.

◆ HEDLEY_INLINE

#define HEDLEY_INLINE

Definition at line 1627 of file hedley.ext.hpp.

◆ HEDLEY_ALWAYS_INLINE

#define HEDLEY_ALWAYS_INLINE   HEDLEY_INLINE

Definition at line 1666 of file hedley.ext.hpp.

◆ HEDLEY_NEVER_INLINE

#define HEDLEY_NEVER_INLINE

Definition at line 1706 of file hedley.ext.hpp.

◆ HEDLEY_PRIVATE

#define HEDLEY_PRIVATE

Definition at line 1733 of file hedley.ext.hpp.

◆ HEDLEY_PUBLIC

#define HEDLEY_PUBLIC

Definition at line 1734 of file hedley.ext.hpp.

◆ HEDLEY_IMPORT

#define HEDLEY_IMPORT   extern

Definition at line 1736 of file hedley.ext.hpp.

◆ HEDLEY_NO_THROW

#define HEDLEY_NO_THROW

Definition at line 1750 of file hedley.ext.hpp.

◆ HEDLEY_FALL_THROUGH

#define HEDLEY_FALL_THROUGH

Definition at line 1767 of file hedley.ext.hpp.

◆ HEDLEY_RETURNS_NON_NULL

#define HEDLEY_RETURNS_NON_NULL

Definition at line 1778 of file hedley.ext.hpp.

◆ HEDLEY_ARRAY_PARAM

#define HEDLEY_ARRAY_PARAM ( name)

Definition at line 1789 of file hedley.ext.hpp.

◆ HEDLEY_IS_CONSTANT

#define HEDLEY_IS_CONSTANT ( expr)    (0)

Definition at line 1862 of file hedley.ext.hpp.

◆ HEDLEY_REQUIRE_CONSTEXPR

#define HEDLEY_REQUIRE_CONSTEXPR ( expr)    (expr)

Definition at line 1864 of file hedley.ext.hpp.

◆ HEDLEY_BEGIN_C_DECLS

#define HEDLEY_BEGIN_C_DECLS

Definition at line 1883 of file hedley.ext.hpp.

◆ HEDLEY_END_C_DECLS

#define HEDLEY_END_C_DECLS

Definition at line 1884 of file hedley.ext.hpp.

◆ HEDLEY_C_DECL

#define HEDLEY_C_DECL

Definition at line 1885 of file hedley.ext.hpp.

◆ HEDLEY_STATIC_ASSERT

#define HEDLEY_STATIC_ASSERT ( expr,
message )

Definition at line 1904 of file hedley.ext.hpp.

◆ HEDLEY_NULL

#define HEDLEY_NULL   ((void*)0)

Definition at line 1921 of file hedley.ext.hpp.

◆ HEDLEY_MESSAGE

#define HEDLEY_MESSAGE ( msg)

Definition at line 1942 of file hedley.ext.hpp.

◆ HEDLEY_WARNING

#define HEDLEY_WARNING ( msg)    HEDLEY_MESSAGE(msg)

Definition at line 1961 of file hedley.ext.hpp.

◆ HEDLEY_REQUIRE

#define HEDLEY_REQUIRE ( expr)

Definition at line 1987 of file hedley.ext.hpp.

◆ HEDLEY_REQUIRE_MSG

#define HEDLEY_REQUIRE_MSG ( expr,
msg )

Definition at line 1988 of file hedley.ext.hpp.

◆ HEDLEY_FLAGS

#define HEDLEY_FLAGS

Definition at line 1997 of file hedley.ext.hpp.

◆ HEDLEY_FLAGS_CAST

#define HEDLEY_FLAGS_CAST ( T,
expr )   HEDLEY_STATIC_CAST(T, expr)

Definition at line 2011 of file hedley.ext.hpp.

◆ HEDLEY_EMPTY_BASES

#define HEDLEY_EMPTY_BASES

Definition at line 2022 of file hedley.ext.hpp.

◆ HEDLEY_GCC_NOT_CLANG_VERSION_CHECK

#define HEDLEY_GCC_NOT_CLANG_VERSION_CHECK ( major,
minor,
patch )    HEDLEY_GCC_VERSION_CHECK(major, minor, patch)

Definition at line 2033 of file hedley.ext.hpp.

◆ HEDLEY_CLANG_HAS_ATTRIBUTE

#define HEDLEY_CLANG_HAS_ATTRIBUTE ( attribute)    HEDLEY_HAS_ATTRIBUTE(attribute)

Definition at line 2040 of file hedley.ext.hpp.

◆ HEDLEY_CLANG_HAS_CPP_ATTRIBUTE

#define HEDLEY_CLANG_HAS_CPP_ATTRIBUTE ( attribute)     HEDLEY_HAS_CPP_ATTRIBUTE(attribute)

Definition at line 2045 of file hedley.ext.hpp.

◆ HEDLEY_CLANG_HAS_BUILTIN

#define HEDLEY_CLANG_HAS_BUILTIN ( builtin)    HEDLEY_HAS_BUILTIN(builtin)

Definition at line 2051 of file hedley.ext.hpp.

◆ HEDLEY_CLANG_HAS_FEATURE

#define HEDLEY_CLANG_HAS_FEATURE ( feature)    HEDLEY_HAS_FEATURE(feature)

Definition at line 2056 of file hedley.ext.hpp.

◆ HEDLEY_CLANG_HAS_EXTENSION

#define HEDLEY_CLANG_HAS_EXTENSION ( extension)    HEDLEY_HAS_EXTENSION(extension)

Definition at line 2061 of file hedley.ext.hpp.

◆ HEDLEY_CLANG_HAS_DECLSPEC_ATTRIBUTE

#define HEDLEY_CLANG_HAS_DECLSPEC_ATTRIBUTE ( attribute)     HEDLEY_HAS_DECLSPEC_ATTRIBUTE(attribute)

Definition at line 2066 of file hedley.ext.hpp.

◆ HEDLEY_CLANG_HAS_WARNING

#define HEDLEY_CLANG_HAS_WARNING ( warning)    HEDLEY_HAS_WARNING(warning)

Definition at line 2072 of file hedley.ext.hpp.