NIM 跨平台 C++ SDK
载入中...
搜索中...
未找到
phmap_config.h 文件参考
#include <limits.h>

浏览源代码.

命名空间

namespace  phmap
 
namespace  phmap::macros_internal
 

宏定义

#define PHMAP_VERSION_MAJOR   1
 
#define PHMAP_VERSION_MINOR   0
 
#define PHMAP_VERSION_PATCH   0
 
#define PHMAP_XSTR(x)   PHMAP_STR(x)
 
#define PHMAP_STR(x)   #x
 
#define PHMAP_VAR_NAME_VALUE(var)   #var "=" PHMAP_STR(var)
 
#define PHMAP_HAVE_BUILTIN(x)   0
 
#define PHMAP_HAVE_CC17   0
 
#define PHMAP_BRANCHLESS   1
 
#define PHMAP_HAVE_FEATURE(f)   0
 
#define PHMAP_INTERNAL_HAVE_MIN_GNUC_VERSION(x, y)   0
 
#define PHMAP_INTERNAL_HAVE_MIN_CLANG_VERSION(x, y)   0
 
#define PHMAP_HAVE_THREAD_LOCAL   1
 
#define PHMAP_HAVE_EXCEPTIONS   1
 
#define PHMAP_INTERNAL_MACOS_CXX17_TYPES_UNAVAILABLE   0
 
#define PHMAP_HAVE_STD_STRING_VIEW   0
 
#define PHMAP_HAS_NATIVE_WCHAR_T
 
#define PHMAP_HAVE_ATTRIBUTE(x)   0
 
#define PHMAP_HAVE_CPP_ATTRIBUTE(x)   0
 
#define PHMAP_PRINTF_ATTRIBUTE(string_index, first_to_check)
 
#define PHMAP_SCANF_ATTRIBUTE(string_index, first_to_check)
 
#define PHMAP_ATTRIBUTE_ALWAYS_INLINE
 
#define PHMAP_ATTRIBUTE_NOINLINE
 
#define PHMAP_ATTRIBUTE_NO_TAIL_CALL
 
#define PHMAP_HAVE_ATTRIBUTE_NO_TAIL_CALL   0
 
#define PHMAP_ATTRIBUTE_WEAK
 
#define PHMAP_HAVE_ATTRIBUTE_WEAK   0
 
#define PHMAP_ATTRIBUTE_NONNULL(...)
 
#define PHMAP_ATTRIBUTE_NORETURN
 
#define PHMAP_ATTRIBUTE_NO_SANITIZE_ADDRESS
 
#define PHMAP_ATTRIBUTE_NO_SANITIZE_MEMORY
 
#define PHMAP_ATTRIBUTE_NO_SANITIZE_THREAD
 
#define PHMAP_ATTRIBUTE_NO_SANITIZE_UNDEFINED
 
#define PHMAP_ATTRIBUTE_NO_SANITIZE_CFI
 
#define PHMAP_ATTRIBUTE_NO_SANITIZE_SAFESTACK
 
#define PHMAP_ATTRIBUTE_RETURNS_NONNULL
 
#define PHMAP_HAVE_ATTRIBUTE_SECTION   0
 
#define PHMAP_ATTRIBUTE_SECTION(name)
 
#define PHMAP_ATTRIBUTE_SECTION_VARIABLE(name)
 
#define PHMAP_INIT_ATTRIBUTE_SECTION_VARS(name)
 
#define PHMAP_DEFINE_ATTRIBUTE_SECTION_VARS(name)
 
#define PHMAP_DECLARE_ATTRIBUTE_SECTION_VARS(name)
 
#define PHMAP_ATTRIBUTE_SECTION_START(name)   (reinterpret_cast<void *>(0))
 
#define PHMAP_ATTRIBUTE_SECTION_STOP(name)   (reinterpret_cast<void *>(0))
 
#define PHMAP_ATTRIBUTE_STACK_ALIGN_FOR_OLD_LIBC
 
#define PHMAP_REQUIRE_STACK_ALIGN_TRAMPOLINE   (0)
 
#define PHMAP_MUST_USE_RESULT
 
#define PHMAP_ATTRIBUTE_HOT
 
#define PHMAP_ATTRIBUTE_COLD
 
#define PHMAP_ATTRIBUTE_REINITIALIZES
 
#define PHMAP_ATTRIBUTE_UNUSED
 
#define PHMAP_ATTRIBUTE_INITIAL_EXEC
 
#define PHMAP_ATTRIBUTE_PACKED
 
#define PHMAP_ATTRIBUTE_FUNC_ALIGN(bytes)
 
#define PHMAP_HAVE_SSE2   0
 
#define PHMAP_HAVE_SSSE3   0
 
#define PHMAP_IF_CONSTEXPR(expr)   if ((expr))
 
#define PHMAP_ARRAYSIZE(array)    (sizeof(::phmap::macros_internal::ArraySizeHelper(array)))
 
#define PHMAP_FALLTHROUGH_INTENDED    do { } while (0)
 
#define PHMAP_DEPRECATED(message)
 
#define PHMAP_ASSERT(expr)
 
#define PHMAP_INTERNAL_TRY   try
 
#define PHMAP_INTERNAL_CATCH_ANY   catch (...)
 
#define PHMAP_INTERNAL_RETHROW   do { throw; } while (false)
 

函数

template<typename T , size_t N>
auto phmap::macros_internal::ArraySizeHelper (const T(&array)[N]) -> char(&)[N]
 

宏定义说明

◆ PHMAP_ARRAYSIZE

#define PHMAP_ARRAYSIZE ( array)     (sizeof(::phmap::macros_internal::ArraySizeHelper(array)))

◆ PHMAP_ASSERT

#define PHMAP_ASSERT ( expr)
值:
(PHMAP_PREDICT_TRUE((expr)) ? (void)0 \
: [] { assert(false && #expr); }())
#define PHMAP_PREDICT_TRUE(x)
Definition phmap_bits.h:252

◆ PHMAP_ATTRIBUTE_ALWAYS_INLINE

#define PHMAP_ATTRIBUTE_ALWAYS_INLINE

◆ PHMAP_ATTRIBUTE_COLD

#define PHMAP_ATTRIBUTE_COLD

◆ PHMAP_ATTRIBUTE_FUNC_ALIGN

#define PHMAP_ATTRIBUTE_FUNC_ALIGN ( bytes)

◆ PHMAP_ATTRIBUTE_HOT

#define PHMAP_ATTRIBUTE_HOT

◆ PHMAP_ATTRIBUTE_INITIAL_EXEC

#define PHMAP_ATTRIBUTE_INITIAL_EXEC

◆ PHMAP_ATTRIBUTE_NO_SANITIZE_ADDRESS

#define PHMAP_ATTRIBUTE_NO_SANITIZE_ADDRESS

◆ PHMAP_ATTRIBUTE_NO_SANITIZE_CFI

#define PHMAP_ATTRIBUTE_NO_SANITIZE_CFI

◆ PHMAP_ATTRIBUTE_NO_SANITIZE_MEMORY

#define PHMAP_ATTRIBUTE_NO_SANITIZE_MEMORY

◆ PHMAP_ATTRIBUTE_NO_SANITIZE_SAFESTACK

#define PHMAP_ATTRIBUTE_NO_SANITIZE_SAFESTACK

◆ PHMAP_ATTRIBUTE_NO_SANITIZE_THREAD

#define PHMAP_ATTRIBUTE_NO_SANITIZE_THREAD

◆ PHMAP_ATTRIBUTE_NO_SANITIZE_UNDEFINED

#define PHMAP_ATTRIBUTE_NO_SANITIZE_UNDEFINED

◆ PHMAP_ATTRIBUTE_NO_TAIL_CALL

#define PHMAP_ATTRIBUTE_NO_TAIL_CALL

◆ PHMAP_ATTRIBUTE_NOINLINE

#define PHMAP_ATTRIBUTE_NOINLINE

◆ PHMAP_ATTRIBUTE_NONNULL

#define PHMAP_ATTRIBUTE_NONNULL ( ...)

◆ PHMAP_ATTRIBUTE_NORETURN

#define PHMAP_ATTRIBUTE_NORETURN

◆ PHMAP_ATTRIBUTE_PACKED

#define PHMAP_ATTRIBUTE_PACKED

◆ PHMAP_ATTRIBUTE_REINITIALIZES

#define PHMAP_ATTRIBUTE_REINITIALIZES

◆ PHMAP_ATTRIBUTE_RETURNS_NONNULL

#define PHMAP_ATTRIBUTE_RETURNS_NONNULL

◆ PHMAP_ATTRIBUTE_SECTION

#define PHMAP_ATTRIBUTE_SECTION ( name)

◆ PHMAP_ATTRIBUTE_SECTION_START

#define PHMAP_ATTRIBUTE_SECTION_START ( name)    (reinterpret_cast<void *>(0))

◆ PHMAP_ATTRIBUTE_SECTION_STOP

#define PHMAP_ATTRIBUTE_SECTION_STOP ( name)    (reinterpret_cast<void *>(0))

◆ PHMAP_ATTRIBUTE_SECTION_VARIABLE

#define PHMAP_ATTRIBUTE_SECTION_VARIABLE ( name)

◆ PHMAP_ATTRIBUTE_STACK_ALIGN_FOR_OLD_LIBC

#define PHMAP_ATTRIBUTE_STACK_ALIGN_FOR_OLD_LIBC

◆ PHMAP_ATTRIBUTE_UNUSED

#define PHMAP_ATTRIBUTE_UNUSED

◆ PHMAP_ATTRIBUTE_WEAK

#define PHMAP_ATTRIBUTE_WEAK

◆ PHMAP_BRANCHLESS

#define PHMAP_BRANCHLESS   1

◆ PHMAP_DECLARE_ATTRIBUTE_SECTION_VARS

#define PHMAP_DECLARE_ATTRIBUTE_SECTION_VARS ( name)

◆ PHMAP_DEFINE_ATTRIBUTE_SECTION_VARS

#define PHMAP_DEFINE_ATTRIBUTE_SECTION_VARS ( name)

◆ PHMAP_DEPRECATED

#define PHMAP_DEPRECATED ( message)

◆ PHMAP_FALLTHROUGH_INTENDED

#define PHMAP_FALLTHROUGH_INTENDED    do { } while (0)

◆ PHMAP_HAS_NATIVE_WCHAR_T

#define PHMAP_HAS_NATIVE_WCHAR_T

◆ PHMAP_HAVE_ATTRIBUTE

#define PHMAP_HAVE_ATTRIBUTE ( x)    0

◆ PHMAP_HAVE_ATTRIBUTE_NO_TAIL_CALL

#define PHMAP_HAVE_ATTRIBUTE_NO_TAIL_CALL   0

◆ PHMAP_HAVE_ATTRIBUTE_SECTION

#define PHMAP_HAVE_ATTRIBUTE_SECTION   0

◆ PHMAP_HAVE_ATTRIBUTE_WEAK

#define PHMAP_HAVE_ATTRIBUTE_WEAK   0

◆ PHMAP_HAVE_BUILTIN

#define PHMAP_HAVE_BUILTIN ( x)    0

◆ PHMAP_HAVE_CC17

#define PHMAP_HAVE_CC17   0

◆ PHMAP_HAVE_CPP_ATTRIBUTE

#define PHMAP_HAVE_CPP_ATTRIBUTE ( x)    0

◆ PHMAP_HAVE_EXCEPTIONS

#define PHMAP_HAVE_EXCEPTIONS   1

◆ PHMAP_HAVE_FEATURE

#define PHMAP_HAVE_FEATURE ( f)    0

◆ PHMAP_HAVE_SSE2

#define PHMAP_HAVE_SSE2   0

◆ PHMAP_HAVE_SSSE3

#define PHMAP_HAVE_SSSE3   0

◆ PHMAP_HAVE_STD_STRING_VIEW

#define PHMAP_HAVE_STD_STRING_VIEW   0

◆ PHMAP_HAVE_THREAD_LOCAL

#define PHMAP_HAVE_THREAD_LOCAL   1

◆ PHMAP_IF_CONSTEXPR

#define PHMAP_IF_CONSTEXPR ( expr)    if ((expr))

◆ PHMAP_INIT_ATTRIBUTE_SECTION_VARS

#define PHMAP_INIT_ATTRIBUTE_SECTION_VARS ( name)

◆ PHMAP_INTERNAL_CATCH_ANY

#define PHMAP_INTERNAL_CATCH_ANY   catch (...)

◆ PHMAP_INTERNAL_HAVE_MIN_CLANG_VERSION

#define PHMAP_INTERNAL_HAVE_MIN_CLANG_VERSION ( x,
y )   0

◆ PHMAP_INTERNAL_HAVE_MIN_GNUC_VERSION

#define PHMAP_INTERNAL_HAVE_MIN_GNUC_VERSION ( x,
y )   0

◆ PHMAP_INTERNAL_MACOS_CXX17_TYPES_UNAVAILABLE

#define PHMAP_INTERNAL_MACOS_CXX17_TYPES_UNAVAILABLE   0

◆ PHMAP_INTERNAL_RETHROW

#define PHMAP_INTERNAL_RETHROW   do { throw; } while (false)

◆ PHMAP_INTERNAL_TRY

#define PHMAP_INTERNAL_TRY   try

◆ PHMAP_MUST_USE_RESULT

#define PHMAP_MUST_USE_RESULT

◆ PHMAP_PRINTF_ATTRIBUTE

#define PHMAP_PRINTF_ATTRIBUTE ( string_index,
first_to_check )

◆ PHMAP_REQUIRE_STACK_ALIGN_TRAMPOLINE

#define PHMAP_REQUIRE_STACK_ALIGN_TRAMPOLINE   (0)

◆ PHMAP_SCANF_ATTRIBUTE

#define PHMAP_SCANF_ATTRIBUTE ( string_index,
first_to_check )

◆ PHMAP_STR

#define PHMAP_STR ( x)    #x

◆ PHMAP_VAR_NAME_VALUE

#define PHMAP_VAR_NAME_VALUE ( var)    #var "=" PHMAP_STR(var)

◆ PHMAP_VERSION_MAJOR

#define PHMAP_VERSION_MAJOR   1

◆ PHMAP_VERSION_MINOR

#define PHMAP_VERSION_MINOR   0

◆ PHMAP_VERSION_PATCH

#define PHMAP_VERSION_PATCH   0

◆ PHMAP_XSTR

#define PHMAP_XSTR ( x)    PHMAP_STR(x)