NIM 跨平台 C++ SDK
载入中...
搜索中...
未找到
phmap::base_internal 命名空间参考

struct  Callable
 
struct  DataMemAndPtr
 
struct  DataMemAndRef
 
struct  Invoker
 
struct  MemFunAndPtr
 
struct  MemFunAndRef
 
struct  StrippedAccept
 

类型定义

template<typename F , typename... Args>
using InvokeT
 

函数

static void ThrowStdLogicError (const std::string &what_arg)
 
static void ThrowStdLogicError (const char *what_arg)
 
static void ThrowStdInvalidArgument (const std::string &what_arg)
 
static void ThrowStdInvalidArgument (const char *what_arg)
 
static void ThrowStdDomainError (const std::string &what_arg)
 
static void ThrowStdDomainError (const char *what_arg)
 
static void ThrowStdLengthError (const std::string &what_arg)
 
static void ThrowStdLengthError (const char *what_arg)
 
static void ThrowStdOutOfRange (const std::string &what_arg)
 
static void ThrowStdOutOfRange (const char *what_arg)
 
static void ThrowStdRuntimeError (const std::string &what_arg)
 
static void ThrowStdRuntimeError (const char *what_arg)
 
static void ThrowStdRangeError (const std::string &what_arg)
 
static void ThrowStdRangeError (const char *what_arg)
 
static void ThrowStdOverflowError (const std::string &what_arg)
 
static void ThrowStdOverflowError (const char *what_arg)
 
static void ThrowStdUnderflowError (const std::string &what_arg)
 
static void ThrowStdUnderflowError (const char *what_arg)
 
static void ThrowStdBadFunctionCall ()
 
static void ThrowStdBadAlloc ()
 
template<typename F , typename... Args>
InvokeT< F, Args... > Invoke (F &&f, Args &&... args)
 
PHMAP_BASE_INTERNAL_FORCEINLINE int CountLeadingZeros64Slow (uint64_t n)
 
PHMAP_BASE_INTERNAL_FORCEINLINE int CountLeadingZeros64 (uint64_t n)
 
PHMAP_BASE_INTERNAL_FORCEINLINE uint32_t CountLeadingZeros32Slow (uint64_t n)
 
PHMAP_BASE_INTERNAL_FORCEINLINE uint32_t CountLeadingZeros32 (uint32_t n)
 
PHMAP_BASE_INTERNAL_FORCEINLINE uint32_t CountTrailingZerosNonZero64Slow (uint64_t n)
 
PHMAP_BASE_INTERNAL_FORCEINLINE uint32_t CountTrailingZerosNonZero64 (uint64_t n)
 
PHMAP_BASE_INTERNAL_FORCEINLINE uint32_t CountTrailingZerosNonZero32Slow (uint32_t n)
 
PHMAP_BASE_INTERNAL_FORCEINLINE uint32_t CountTrailingZerosNonZero32 (uint32_t n)
 

类型定义说明

◆ InvokeT

template<typename F , typename... Args>
using phmap::base_internal::InvokeT
初始值:
decltype(Invoker<F, Args...>::type::Invoke(
std::declval<F>(), std::declval<Args>()...))

函数说明

◆ CountLeadingZeros32()

PHMAP_BASE_INTERNAL_FORCEINLINE uint32_t phmap::base_internal::CountLeadingZeros32 ( uint32_t n)

◆ CountLeadingZeros32Slow()

PHMAP_BASE_INTERNAL_FORCEINLINE uint32_t phmap::base_internal::CountLeadingZeros32Slow ( uint64_t n)

◆ CountLeadingZeros64()

PHMAP_BASE_INTERNAL_FORCEINLINE int phmap::base_internal::CountLeadingZeros64 ( uint64_t n)

◆ CountLeadingZeros64Slow()

PHMAP_BASE_INTERNAL_FORCEINLINE int phmap::base_internal::CountLeadingZeros64Slow ( uint64_t n)

◆ CountTrailingZerosNonZero32()

PHMAP_BASE_INTERNAL_FORCEINLINE uint32_t phmap::base_internal::CountTrailingZerosNonZero32 ( uint32_t n)

◆ CountTrailingZerosNonZero32Slow()

PHMAP_BASE_INTERNAL_FORCEINLINE uint32_t phmap::base_internal::CountTrailingZerosNonZero32Slow ( uint32_t n)

◆ CountTrailingZerosNonZero64()

PHMAP_BASE_INTERNAL_FORCEINLINE uint32_t phmap::base_internal::CountTrailingZerosNonZero64 ( uint64_t n)

◆ CountTrailingZerosNonZero64Slow()

PHMAP_BASE_INTERNAL_FORCEINLINE uint32_t phmap::base_internal::CountTrailingZerosNonZero64Slow ( uint64_t n)

◆ Invoke()

template<typename F , typename... Args>
InvokeT< F, Args... > phmap::base_internal::Invoke ( F && f,
Args &&... args )

◆ ThrowStdBadAlloc()

static void phmap::base_internal::ThrowStdBadAlloc ( )
inlinestatic

◆ ThrowStdBadFunctionCall()

static void phmap::base_internal::ThrowStdBadFunctionCall ( )
inlinestatic

◆ ThrowStdDomainError() [1/2]

static void phmap::base_internal::ThrowStdDomainError ( const char * what_arg)
inlinestatic

◆ ThrowStdDomainError() [2/2]

static void phmap::base_internal::ThrowStdDomainError ( const std::string & what_arg)
inlinestatic

◆ ThrowStdInvalidArgument() [1/2]

static void phmap::base_internal::ThrowStdInvalidArgument ( const char * what_arg)
inlinestatic

◆ ThrowStdInvalidArgument() [2/2]

static void phmap::base_internal::ThrowStdInvalidArgument ( const std::string & what_arg)
inlinestatic

◆ ThrowStdLengthError() [1/2]

static void phmap::base_internal::ThrowStdLengthError ( const char * what_arg)
inlinestatic

◆ ThrowStdLengthError() [2/2]

static void phmap::base_internal::ThrowStdLengthError ( const std::string & what_arg)
inlinestatic

◆ ThrowStdLogicError() [1/2]

static void phmap::base_internal::ThrowStdLogicError ( const char * what_arg)
inlinestatic

◆ ThrowStdLogicError() [2/2]

static void phmap::base_internal::ThrowStdLogicError ( const std::string & what_arg)
inlinestatic

◆ ThrowStdOutOfRange() [1/2]

static void phmap::base_internal::ThrowStdOutOfRange ( const char * what_arg)
inlinestatic

◆ ThrowStdOutOfRange() [2/2]

static void phmap::base_internal::ThrowStdOutOfRange ( const std::string & what_arg)
inlinestatic

◆ ThrowStdOverflowError() [1/2]

static void phmap::base_internal::ThrowStdOverflowError ( const char * what_arg)
inlinestatic

◆ ThrowStdOverflowError() [2/2]

static void phmap::base_internal::ThrowStdOverflowError ( const std::string & what_arg)
inlinestatic

◆ ThrowStdRangeError() [1/2]

static void phmap::base_internal::ThrowStdRangeError ( const char * what_arg)
inlinestatic

◆ ThrowStdRangeError() [2/2]

static void phmap::base_internal::ThrowStdRangeError ( const std::string & what_arg)
inlinestatic

◆ ThrowStdRuntimeError() [1/2]

static void phmap::base_internal::ThrowStdRuntimeError ( const char * what_arg)
inlinestatic

◆ ThrowStdRuntimeError() [2/2]

static void phmap::base_internal::ThrowStdRuntimeError ( const std::string & what_arg)
inlinestatic

◆ ThrowStdUnderflowError() [1/2]

static void phmap::base_internal::ThrowStdUnderflowError ( const char * what_arg)
inlinestatic

◆ ThrowStdUnderflowError() [2/2]

static void phmap::base_internal::ThrowStdUnderflowError ( const std::string & what_arg)
inlinestatic