#include <boost/static_assert.hpp>
#include <cassert>
#include <iosfwd>
Go to the source code of this file.
Classes | |
struct | osl::PlayerTraits< BLACK > |
struct | osl::PlayerTraits< WHITE > |
Namespaces | |
namespace | osl |
| |
Enumerations | |
enum | osl::Player { osl::BLACK = 0, osl::WHITE = -1 } |
Functions | |
Player | osl::alt (Player player) |
int | osl::playerToIndex (Player player) |
Player | osl::indexToPlayer (int n) |
int | osl::playerToMul (Player player) |
int | osl::playerToSign (Player player) |
int | osl::playerToMask (Player player) |
int | osl::operator+ (Player, int) |
int | osl::operator+ (int, Player) |
int | osl::operator- (Player, int) |
int | osl::operator- (int, Player) |
int | osl::operator* (Player, int) |
int | osl::operator* (int, Player) |
int | osl::operator/ (Player, int) |
int | osl::operator/ (int, Player) |
bool | osl::isValid (Player player) |
cast等で作られたplayerが正しいかどうかを返す | |
std::ostream & | osl::operator<< (std::ostream &os, Player player) |