docc 0.8.3 (0d44999b)
C++ API Reference
Loading...
Searching...
No Matches
arg_capture Namespace Reference

Classes

struct  MyHash
struct  ArgCapture
class  ArgCaptureIO
struct  PrimitiveCppType
struct  PrimitiveCppType< PrimitiveType::Float >
struct  PrimitiveCppType< PrimitiveType::Double >
struct  PrimitiveCppType< PrimitiveType::X86_FP80 >
struct  PrimitiveCppType< PrimitiveType::Int8 >
struct  PrimitiveCppType< PrimitiveType::Int16 >
struct  PrimitiveCppType< PrimitiveType::Int32 >
struct  PrimitiveCppType< PrimitiveType::Int64 >
struct  PrimitiveCppType< PrimitiveType::UInt8 >
struct  PrimitiveCppType< PrimitiveType::UInt16 >
struct  PrimitiveCppType< PrimitiveType::UInt32 >
struct  PrimitiveCppType< PrimitiveType::UInt64 >

Concepts

concept  HasNumericLimits

Enumerations

enum class  PrimitiveType {
  Void = 0 , Bool = 1 , Int8 = 2 , Int16 = 3 ,
  Int32 = 4 , Int64 = 5 , Int128 = 6 , UInt8 = 7 ,
  UInt16 = 8 , UInt32 = 9 , UInt64 = 10 , UInt128 = 11 ,
  Half = 12 , BFloat = 13 , Float = 14 , Double = 15 ,
  X86_FP80 = 16 , FP128 = 17 , PPC_FP128 = 18 , PRIMITIVE_TYPE_COUNT = 19
}

Functions

constexpr const char * to_string (PrimitiveType e)
template<HasNumericLimits T>
constexpr T machine_epsilon ()
template<typename T>
constexpr T machine_epsilon ()
long double primitive_type_epsilon (arg_capture::PrimitiveType pt)

Variables

static const uint32_t INDEX_FORMAT_VERSION = 0x00000001
static const char * primitive_type_names []
static const char * primitive_type_cppspellings []
static const double primitive_type_machine_epsilons []

Enumeration Type Documentation

◆ PrimitiveType

enum class arg_capture::PrimitiveType
strong
Enumerator
Void 
Bool 
Int8 
Int16 
Int32 
Int64 
Int128 
UInt8 
UInt16 
UInt32 
UInt64 
UInt128 
Half 
BFloat 
Float 
Double 
X86_FP80 
FP128 
PPC_FP128 
PRIMITIVE_TYPE_COUNT 

Function Documentation

◆ machine_epsilon() [1/2]

template<typename T>
T arg_capture::machine_epsilon ( )
constexpr

◆ machine_epsilon() [2/2]

template<HasNumericLimits T>
T arg_capture::machine_epsilon ( )
constexpr

◆ primitive_type_epsilon()

long double arg_capture::primitive_type_epsilon ( arg_capture::PrimitiveType pt)
inline

◆ to_string()

const char * arg_capture::to_string ( PrimitiveType e)
constexpr

Variable Documentation

◆ INDEX_FORMAT_VERSION

const uint32_t arg_capture::INDEX_FORMAT_VERSION = 0x00000001
static

◆ primitive_type_cppspellings

const char* arg_capture::primitive_type_cppspellings[]
static
Initial value:
= {
"void",
"bool",
"int8_t",
"int16_t",
"int32_t",
"int64_t",
"__int128",
"uint8_t",
"uint16_t",
"uint32_t",
"uint64_t",
"unsigned __int128",
"_Float16",
"__bf16",
"float",
"double",
"long double",
"__float128",
"__ibm128"
}

◆ primitive_type_machine_epsilons

const double arg_capture::primitive_type_machine_epsilons[]
static
Initial value:
= {
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
0.0,
9.765625e-04,
7.8125e-03,
1.1920929e-07,
2.220446049250313e-16,
1.0842021724855044e-19,
1.9259299443872354e-34,
1.0842021724855044e-19
}

◆ primitive_type_names

const char* arg_capture::primitive_type_names[]
static
Initial value:
= {
"Void",
"Bool",
"Int8",
"Int16",
"Int32",
"Int64",
"Int128",
"UInt8",
"UInt16",
"UInt32",
"UInt64",
"UInt128",
"Half",
"BFloat",
"Float",
"Double",
"X86_FP80",
"FP128",
"PPC_FP128"
}