42 return m_case == rhs.m_case;
45bCase::operator std::string()
const
47 if (m_case == 0xFF)
return "-";
48 return std::string(1,
column0() +
'a') + std::string(1,
rank0() +
'1');
53 os << std::string(cf);
This is the main include file, needs to be included before any other include.
std::ostream & operator<<(std::ostream &os, bCase const &cf)
bCase & operator=(bCase const &)=delete
bool operator==(bCase const rhs) const
constexpr column_t column0() const
static constexpr case_t coordToCase(column_t const c, rank_t const r)
constexpr rank_t rank0() const