#include <libchess/board/Rank.hpp>
|
| template<typename FormatContext> |
| auto | format (const chess::board::Rank rank, FormatContext &ctx) const -> typename FormatContext::iterator |
| template<typename ParseContext> |
| constexpr auto | parse (ParseContext &ctx) -> typename ParseContext::iterator |
A formatter specialization for chessboard ranks. The formatter accepts no arguments; ranks are always printed as integers, except starting from 1 instead of 0.
- See also
- chess::board::Rank
Definition at line 97 of file Rank.hpp.
◆ format()
template<typename FormatContext>
◆ parse()
template<typename ParseContext>
| auto std::formatter< chess::board::Rank >::parse |
( |
ParseContext & | ctx | ) |
-> typename ParseContext::iterator |
|
inlineconstexpr |
The documentation for this struct was generated from the following file:
- libchess/include/libchess/board/Rank.hpp