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, unsigned 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, template_inst)
 
auto f (const int t)
 
 TEST (IntrinsicType, overload2)
 
 TEST (IntrinsicType, logic_not)
 
 TEST (IntrinsicType, logic_or_0)
 
 TEST (IntrinsicType, logic_or_1)
 
 TEST (IntrinsicType, logic_and_0)
 
 TEST (IntrinsicType, logic_and_1)
 

Typedef Documentation

◆ IntrinsicInt

template<typename BaseT >
using IntrinsicInt = IntrinsicType<BaseT, unsigned 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/8]

TEST ( IntrinsicType  ,
logic_and_0   
)

Definition at line 100 of file test_intrinsic_type.cpp.

◆ TEST() [2/8]

TEST ( IntrinsicType  ,
logic_and_1   
)

Definition at line 113 of file test_intrinsic_type.cpp.

◆ TEST() [3/8]

TEST ( IntrinsicType  ,
logic_not   
)

Definition at line 59 of file test_intrinsic_type.cpp.

◆ TEST() [4/8]

TEST ( IntrinsicType  ,
logic_or_0   
)

Definition at line 68 of file test_intrinsic_type.cpp.

◆ TEST() [5/8]

TEST ( IntrinsicType  ,
logic_or_1   
)

Definition at line 81 of file test_intrinsic_type.cpp.

◆ TEST() [6/8]

TEST ( IntrinsicType  ,
overload1   
)

Definition at line 32 of file test_intrinsic_type.cpp.

◆ TEST() [7/8]

TEST ( IntrinsicType  ,
overload2   
)

Definition at line 52 of file test_intrinsic_type.cpp.

◆ TEST() [8/8]

TEST ( IntrinsicType  ,
template_inst   
)

Definition at line 40 of file test_intrinsic_type.cpp.