24 explicit bCase(std::string
const& s);
48 operator std::string()
const;
52 return static_cast<case_t>((r << 3) | c);
55 return (cf == 0xFF) ? -1 : (cf & 0x07);
58 return (cf == 0xFF) ? -1 : ((cf >> 3) & 0x07);
std::bitset< 64 > boardbitmap_t
std::vector< case_t > caselist_t
position on board, defined as 255 if invalid used primarily to compose a move or a source or destinat...
bCase & operator=(bCase const &)=delete
constexpr rank_t rank() const
bool operator==(bCase const rhs) const
constexpr column_t column0() const
static constexpr rank_t rank0(case_t const cf)
static constexpr boardbitmap_t caseToBit(case_t const cf)
bCase(bCase const &)=delete
constexpr column_t column() const
static constexpr column_t column(case_t const cf)
static constexpr column_t column0(case_t const cf)
constexpr case_t getCaseT() const
static constexpr case_t coordToCase(column_t const c, rank_t const r)
static constexpr rank_t rank(case_t const cf)
friend std::ostream & operator<<(std::ostream &os, bCase const &cf)
constexpr rank_t rank0() const
bCase & operator=(bCase &&)=delete