uTL
micro Template library
test_concepts Namespace Reference

Classes

struct  A
 
struct  B
 
class  Base
 
class  Derived1
 
class  Derived2
 
struct  Empty
 
struct  HaveCopyAndMove
 
struct  HaveOnlyCopy
 
struct  HaveOnlyMove
 
class  HaveOperatorBase
 
class  HavePerfectForwarding
 
struct  Incr
 
struct  Inv
 
struct  Pred
 

Functions

bool operator== (const A &l, const A &r)
 
bool operator!= (const A &l, const A &r)
 
bool operator== (const B &l, const B &r)
 
bool operator!= (const B &l, const B &r)
 
bool operator< (const B &l, const B &r)
 
bool operator<= (const B &l, const B &r)
 
bool operator> (const B &l, const B &r)
 
bool operator>= (const B &l, const B &r)
 
 TEST (TConcepts, Same)
 
 TEST (TConcepts, DerivedFrom)
 
 TEST (TConcepts, ConvertibleTo)
 
 TEST (TConcepts, CommonReference)
 
 TEST (TConcepts, Integral)
 
 TEST (TConcepts, Assignable)
 
 TEST (TConcepts, Swappable)
 
 TEST (TConcepts, Constructible)
 
 TEST (TConcepts, MovableCopyable)
 
 TEST (TConcepts, Boolean)
 
 TEST (TConcepts, Comparable)
 
 TEST (TConcepts, Types)
 
 TEST (TConcepts, Callable)
 
int type_printer (int *i)
 
 TEST (TConcepts, Iterators)
 

Function Documentation

◆ operator!=() [1/2]

bool test_concepts::operator!= ( const A l,
const A r 
)

Definition at line 70 of file TConcepts.cpp.

◆ operator!=() [2/2]

bool test_concepts::operator!= ( const B l,
const B r 
)

Definition at line 82 of file TConcepts.cpp.

◆ operator<()

bool test_concepts::operator< ( const B l,
const B r 
)

Definition at line 83 of file TConcepts.cpp.

◆ operator<=()

bool test_concepts::operator<= ( const B l,
const B r 
)

Definition at line 84 of file TConcepts.cpp.

◆ operator==() [1/2]

bool test_concepts::operator== ( const A l,
const A r 
)

Definition at line 69 of file TConcepts.cpp.

◆ operator==() [2/2]

bool test_concepts::operator== ( const B l,
const B r 
)

Definition at line 81 of file TConcepts.cpp.

◆ operator>()

bool test_concepts::operator> ( const B l,
const B r 
)

Definition at line 85 of file TConcepts.cpp.

◆ operator>=()

bool test_concepts::operator>= ( const B l,
const B r 
)

Definition at line 86 of file TConcepts.cpp.

◆ TEST() [1/14]

test_concepts::TEST ( TConcepts  ,
Same   
)

Definition at line 89 of file TConcepts.cpp.

◆ TEST() [2/14]

test_concepts::TEST ( TConcepts  ,
DerivedFrom   
)

Definition at line 99 of file TConcepts.cpp.

◆ TEST() [3/14]

test_concepts::TEST ( TConcepts  ,
ConvertibleTo   
)

Definition at line 109 of file TConcepts.cpp.

◆ TEST() [4/14]

test_concepts::TEST ( TConcepts  ,
CommonReference   
)

Definition at line 119 of file TConcepts.cpp.

◆ TEST() [5/14]

test_concepts::TEST ( TConcepts  ,
Integral   
)

Definition at line 136 of file TConcepts.cpp.

◆ TEST() [6/14]

test_concepts::TEST ( TConcepts  ,
Assignable   
)

Definition at line 164 of file TConcepts.cpp.

◆ TEST() [7/14]

test_concepts::TEST ( TConcepts  ,
Swappable   
)

Definition at line 200 of file TConcepts.cpp.

◆ TEST() [8/14]

test_concepts::TEST ( TConcepts  ,
Constructible   
)

Definition at line 219 of file TConcepts.cpp.

◆ TEST() [9/14]

test_concepts::TEST ( TConcepts  ,
MovableCopyable   
)

Definition at line 258 of file TConcepts.cpp.

◆ TEST() [10/14]

test_concepts::TEST ( TConcepts  ,
Boolean   
)

Definition at line 280 of file TConcepts.cpp.

◆ TEST() [11/14]

test_concepts::TEST ( TConcepts  ,
Comparable   
)

Definition at line 291 of file TConcepts.cpp.

◆ TEST() [12/14]

test_concepts::TEST ( TConcepts  ,
Types   
)

Definition at line 331 of file TConcepts.cpp.

◆ TEST() [13/14]

test_concepts::TEST ( TConcepts  ,
Callable   
)

Definition at line 385 of file TConcepts.cpp.

◆ TEST() [14/14]

test_concepts::TEST ( TConcepts  ,
Iterators   
)

Definition at line 410 of file TConcepts.cpp.

◆ type_printer()

int test_concepts::type_printer ( int *  i)

Definition at line 409 of file TConcepts.cpp.