Conquer Chess
Chess and Starcraft combined
Loading...
Searching...
No Matches
Functions
read_only.cpp File Reference
#include "read_only.h"
#include <cassert>
Include dependency graph for read_only.cpp:

Functions

template<typename T >
bool operator== (const read_only< T > &lhs, const read_only< T > &rhs) noexcept
 
template<typename T >
bool operator!= (const read_only< T > &lhs, const read_only< T > &rhs) noexcept
 
template<typename T >
bool operator< (const read_only< T > &lhs, const read_only< T > &rhs) noexcept
 
template<typename T >
bool operator> (const read_only< T > &lhs, const read_only< T > &rhs) noexcept
 
template<typename T >
bool operator<= (const read_only< T > &lhs, const read_only< T > &rhs) noexcept
 
template<typename T >
bool operator>= (const read_only< T > &lhs, const read_only< T > &rhs) noexcept
 
void test_read_only ()
 Test our read_only class.
 

Function Documentation

◆ operator!=()

template<typename T >
bool operator!= ( const read_only< T > &  lhs,
const read_only< T > &  rhs 
)
noexcept

◆ operator<()

template<typename T >
bool operator< ( const read_only< T > &  lhs,
const read_only< T > &  rhs 
)
noexcept

◆ operator<=()

template<typename T >
bool operator<= ( const read_only< T > &  lhs,
const read_only< T > &  rhs 
)
noexcept

◆ operator==()

template<typename T >
bool operator== ( const read_only< T > &  lhs,
const read_only< T > &  rhs 
)
noexcept

◆ operator>()

template<typename T >
bool operator> ( const read_only< T > &  lhs,
const read_only< T > &  rhs 
)
noexcept

◆ operator>=()

template<typename T >
bool operator>= ( const read_only< T > &  lhs,
const read_only< T > &  rhs 
)
noexcept

◆ test_read_only()

void test_read_only ( )

Test our read_only class.