39std::ostream& operator<<(std::ostream& os, const
chess_color c) noexcept;
chess_color get_other_color(const chess_color c) noexcept
Get the other color Identical to get_next}.
Definition chess_color.cpp:24
std::string to_str(const chess_color c) noexcept
Definition chess_color.cpp:90
char to_fen_char(const chess_color c) noexcept
Convert the color to a FEN character.
Definition chess_color.cpp:85
std::string to_human_str(const chess_color c) noexcept
Definition chess_color.cpp:77
chess_color get_next(const chess_color c) noexcept
Get the next color.
Definition chess_color.cpp:19
std::vector< chess_color > get_all_chess_colors() noexcept
Definition chess_color.cpp:9
void test_chess_color()
Test the chess_color functions.
Definition chess_color.cpp:31
chess_color
A chess piece color.
Definition chess_color.h:10