|
enum | : std::uint8_t {
W_KING_SIDE = 0b0001
, W_QUEEN_SIDE = 0b0010
, B_KING_SIDE = 0b0100
, B_QUEEN_SIDE = 0b1000
,
KING_SIDE = W_KING_SIDE | B_KING_SIDE
, QUEEN_SIDE = W_QUEEN_SIDE | B_QUEEN_SIDE
, W_SIDE = W_KING_SIDE | W_QUEEN_SIDE
, B_SIDE = B_KING_SIDE | B_QUEEN_SIDE
,
ANY = W_SIDE | B_SIDE
, NONE = 0b0000
, MASK = 0b1111
, SIZE = 4
,
NB = 4
} |
|
constexpr | Castling (uint8_t value) |
constexpr | operator uint8_t () const |
|
static constexpr uint8_t | none () |
static constexpr uint8_t | number () |
static constexpr uint8_t | mask () |
static constexpr uint8_t | size () |
The documentation for this struct was generated from the following file: