Knight-Path 1.0.D018
|
#include <iostream>
#include <vector>
Go to the source code of this file.
Classes | |
class | position |
Functions | |
std::istream & | operator>> (std::istream &is, position &p) |
std::ostream & | operator<< (std::ostream &os, const position &p) |
std::ostream& operator<< | ( | std::ostream & | os, |
const position & | p | ||
) | [inline] |
The << operator is used to write a position to an output stream.
os | The output stream to be written on. |
p | The position to be written. |
Definition at line 270 of file position.h.
std::istream& operator>> | ( | std::istream & | is, |
position & | p | ||
) | [inline] |
The >> operator is used to read a position from an input stream. It will not return if there is an error reading the position (such as not present, not valid, or end-of-file).
is | The input stream to be read. |
p | The resulting position value. |
Definition at line 255 of file position.h.