|
BenBot 1.7.5
A chess engine
|
#include <cstddef>#include <cstdint>#include <expected>#include <format>#include <string>#include <string_view>#include <utility>Go to the source code of this file.
Classes | |
| struct | std::formatter< chess::pieces::Type > |
Namespaces | |
| namespace | chess |
| namespace | chess::pieces |
Enumerations | |
| enum class | chess::pieces::Type : std::uint_fast8_t { chess::pieces::Type::Pawn , chess::pieces::Type::Knight , chess::pieces::Type::Bishop , chess::pieces::Type::Rook , chess::pieces::Type::Queen , chess::pieces::Type::King } |
Functions | |
| auto | chess::pieces::from_string (std::string_view text) -> std::expected< Type, std::string > |
| constexpr auto | chess::pieces::to_char (Type type, bool uppercase=true) -> char |
This file defines some constants for encoding information about the various piece types.
Definition in file PieceTypes.hpp.