BenBot 1.7.5
A chess engine
Loading...
Searching...
No Matches
FEN.hpp File Reference
#include <expected>
#include <libchess/game/Position.hpp>
#include <string>
#include <string_view>
Include dependency graph for FEN.hpp:

Go to the source code of this file.

Namespaces

namespace  chess
namespace  chess::notation

Functions

auto chess::notation::from_fen (std::string_view fenString) -> std::expected< Position, std::string >
auto chess::notation::to_fen (const Position &position, bool alwaysWriteEPSqare=true) -> std::string

Detailed Description

This file provides functions for converting Position objects to and from FEN strings.

Definition in file FEN.hpp.