36using std::string_view;
49 inline constexpr string_view
PAWN {
"\xE2\x99\x99" };
52 inline constexpr string_view
KNIGHT {
"\xE2\x99\x98" };
55 inline constexpr string_view
BISHOP {
"\xE2\x99\x97" };
58 inline constexpr string_view
ROOK {
"\xE2\x99\x96" };
61 inline constexpr string_view
QUEEN {
"\xE2\x99\x95" };
64 inline constexpr string_view
KING {
"\xE2\x99\x94" };
67 [[nodiscard, gnu::const]]
constexpr auto get(
const Type type)
noexcept -> string_view
97 inline constexpr string_view
PAWN {
"\xE2\x99\x9F" };
100 inline constexpr string_view
KNIGHT {
"\xE2\x99\x9E" };
103 inline constexpr string_view
BISHOP {
"\xE2\x99\x9D" };
106 inline constexpr string_view
ROOK {
"\xE2\x99\x9C" };
109 inline constexpr string_view
QUEEN {
"\xE2\x99\x9B" };
112 inline constexpr string_view
KING {
"\xE2\x99\x9A" };
115 [[nodiscard, gnu::const]]
constexpr auto get(
const Type type)
noexcept -> string_view
138[[nodiscard, gnu::const]]
constexpr auto pawn(
const Color color)
noexcept -> string_view
147[[nodiscard, gnu::const]]
constexpr auto knight(
const Color color)
noexcept -> string_view
156[[nodiscard, gnu::const]]
constexpr auto bishop(
const Color color)
noexcept -> string_view
165[[nodiscard, gnu::const]]
constexpr auto rook(
const Color color)
noexcept -> string_view
174[[nodiscard, gnu::const]]
constexpr auto queen(
const Color color)
noexcept -> string_view
183[[nodiscard, gnu::const]]
constexpr auto king(
const Color color)
noexcept -> string_view
constexpr string_view BISHOP
constexpr auto get(const Type type) noexcept -> string_view
constexpr string_view QUEEN
constexpr string_view ROOK
constexpr auto pawn(const Color color) noexcept -> string_view
constexpr string_view KING
constexpr auto rook(const Color color) noexcept -> string_view
constexpr string_view QUEEN
constexpr string_view KING
constexpr auto king(const Color color) noexcept -> string_view
constexpr string_view PAWN
constexpr string_view PAWN
constexpr string_view ROOK
constexpr string_view KNIGHT
constexpr string_view BISHOP
constexpr auto knight(const Color color) noexcept -> string_view
constexpr auto queen(const Color color) noexcept -> string_view
constexpr auto bishop(const Color color) noexcept -> string_view
constexpr auto get(const Type type) noexcept -> string_view
constexpr string_view KNIGHT