Conquer Chess
Chess and Starcraft combined
Loading...
Searching...
No Matches
Classes | Functions
piece_id.h File Reference
#include <iosfwd>
Include dependency graph for piece_id.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  piece_id
 A unique ID. More...
 

Functions

piece_id create_new_id () noexcept
 
void test_id ()
 Test this class and its free functions.
 
bool operator== (const piece_id &lhs, const piece_id &rhs) noexcept
 
bool operator!= (const piece_id &lhs, const piece_id &rhs) noexcept
 
std::ostream & operator<< (std::ostream &os, const piece_id &i) noexcept
 

Function Documentation

◆ create_new_id()

piece_id create_new_id ( )
noexcept

◆ operator!=()

bool operator!= ( const piece_id lhs,
const piece_id rhs 
)
noexcept

◆ operator<<()

std::ostream & operator<< ( std::ostream &  os,
const piece_id i 
)
noexcept

◆ operator==()

bool operator== ( const piece_id lhs,
const piece_id rhs 
)
noexcept

◆ test_id()

void test_id ( )

Test this class and its free functions.