OpenVPN 3 Core Library
Loading...
Searching...
No Matches
test_intrinsic_type.cpp File Reference
Include dependency graph for test_intrinsic_type.cpp:

Go to the source code of this file.

Classes

struct  Thing1
 
struct  Thing2
 

Typedefs

template<typename BaseT >
using IntrinsicInt = IntrinsicType< BaseT, int >
 

Functions

auto f (const Thing1 t)
 
auto f (const Thing2 t)
 
template<typename ThingT >
auto g (const ThingT &t)
 
 TEST (IntrinsicType, Overload1)
 
 TEST (IntrinsicType, TemplateInst)
 
auto f (const int t)
 
 TEST (IntrinsicType, Overload2)
 
 TEST (IntrinsicType, LogicNot)
 
 TEST (IntrinsicType, LogicOr0)
 
 TEST (IntrinsicType, LogicOr1)
 
 TEST (IntrinsicType, LogicAnd0)
 
 TEST (IntrinsicType, LogicAnd1)
 
 TEST (IntrinsicType, MathAdd0)
 
 TEST (IntrinsicType, MathAdd1)
 
 TEST (IntrinsicType, MathSub0)
 
 TEST (IntrinsicType, MathSub1)
 
 TEST (IntrinsicType, MathMul0)
 
 TEST (IntrinsicType, MathMul1)
 
 TEST (IntrinsicType, MathDiv0)
 
 TEST (IntrinsicType, MathDiv1)
 

Typedef Documentation

◆ IntrinsicInt

template<typename BaseT >
using IntrinsicInt = IntrinsicType<BaseT, int>

Definition at line 9 of file test_intrinsic_type.cpp.

Function Documentation

◆ f() [1/3]

auto f ( const int  t)
inline

Definition at line 47 of file test_intrinsic_type.cpp.

◆ f() [2/3]

auto f ( const Thing1  t)
inline

Definition at line 16 of file test_intrinsic_type.cpp.

Here is the caller graph for this function:

◆ f() [3/3]

auto f ( const Thing2  t)
inline

Definition at line 21 of file test_intrinsic_type.cpp.

◆ g()

template<typename ThingT >
auto g ( const ThingT &  t)

Definition at line 27 of file test_intrinsic_type.cpp.

Here is the caller graph for this function:

◆ TEST() [1/16]

TEST ( IntrinsicType  ,
LogicAnd0   
)

Definition at line 99 of file test_intrinsic_type.cpp.

◆ TEST() [2/16]

TEST ( IntrinsicType  ,
LogicAnd1   
)

Definition at line 112 of file test_intrinsic_type.cpp.

◆ TEST() [3/16]

TEST ( IntrinsicType  ,
LogicNot   
)

Definition at line 59 of file test_intrinsic_type.cpp.

◆ TEST() [4/16]

TEST ( IntrinsicType  ,
LogicOr0   
)

Definition at line 68 of file test_intrinsic_type.cpp.

◆ TEST() [5/16]

TEST ( IntrinsicType  ,
LogicOr1   
)

Definition at line 81 of file test_intrinsic_type.cpp.

◆ TEST() [6/16]

TEST ( IntrinsicType  ,
MathAdd0   
)

Definition at line 129 of file test_intrinsic_type.cpp.

◆ TEST() [7/16]

TEST ( IntrinsicType  ,
MathAdd1   
)

Definition at line 142 of file test_intrinsic_type.cpp.

◆ TEST() [8/16]

TEST ( IntrinsicType  ,
MathDiv0   
)

Definition at line 222 of file test_intrinsic_type.cpp.

◆ TEST() [9/16]

TEST ( IntrinsicType  ,
MathDiv1   
)

Definition at line 235 of file test_intrinsic_type.cpp.

◆ TEST() [10/16]

TEST ( IntrinsicType  ,
MathMul0   
)

Definition at line 191 of file test_intrinsic_type.cpp.

◆ TEST() [11/16]

TEST ( IntrinsicType  ,
MathMul1   
)

Definition at line 204 of file test_intrinsic_type.cpp.

◆ TEST() [12/16]

TEST ( IntrinsicType  ,
MathSub0   
)

Definition at line 160 of file test_intrinsic_type.cpp.

◆ TEST() [13/16]

TEST ( IntrinsicType  ,
MathSub1   
)

Definition at line 173 of file test_intrinsic_type.cpp.

◆ TEST() [14/16]

TEST ( IntrinsicType  ,
Overload1   
)

Definition at line 32 of file test_intrinsic_type.cpp.

◆ TEST() [15/16]

TEST ( IntrinsicType  ,
Overload2   
)

Definition at line 52 of file test_intrinsic_type.cpp.

◆ TEST() [16/16]

TEST ( IntrinsicType  ,
TemplateInst   
)

Definition at line 40 of file test_intrinsic_type.cpp.