ReactOS 0.4.15-dev-7924-g5949c20
TestClass.h File Reference
#include "Prefix.h"
#include <functional>
#include <utility>
#include <climits>
#include <iosfwd>
#include "random_number.h"
#include "nc_alloc.h"
Include dependency graph for TestClass.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TestClass
 

Functions

bool operator> (const TestClass &lhs, const TestClass &rhs)
 
bool operator>= (const TestClass &lhs, const TestClass &rhs)
 
bool operator<= (const TestClass &lhs, const TestClass &rhs)
 
bool operator!= (const TestClass &lhs, const TestClass &rhs)
 
std::ostreamoperator<< (std::ostream &s, const TestClass &)
 

Function Documentation

◆ operator!=()

bool operator!= ( const TestClass lhs,
const TestClass rhs 
)
inline

Definition at line 150 of file TestClass.h.

150 {
151 return lhs.value() != rhs.value();
152}
int value() const
Definition: TestClass.h:124

◆ operator<<()

Definition at line 20 of file TestClass.cpp.

20 {
21 return s << t.value();
22}
GLdouble s
Definition: gl.h:2039
GLdouble GLdouble t
Definition: gl.h:2047

◆ operator<=()

bool operator<= ( const TestClass lhs,
const TestClass rhs 
)
inline

Definition at line 146 of file TestClass.h.

146 {
147 return !(rhs < lhs);
148}

◆ operator>()

bool operator> ( const TestClass lhs,
const TestClass rhs 
)
inline

Definition at line 138 of file TestClass.h.

138 {
139 return rhs < lhs;
140}

◆ operator>=()

bool operator>= ( const TestClass lhs,
const TestClass rhs 
)
inline

Definition at line 142 of file TestClass.h.

142 {
143 return !(lhs < rhs);
144}