@ -68,8 +68,8 @@ namespace klotski {
static bool check(uint64_t common_code);
/// Operators of CommonCode
constexpr operator uint64_t() const { return code; }
bool operator==(const CommonCode &common_code) const;
constexpr explicit operator uint64_t() const { return code; }
friend std::ostream& operator<<(std::ostream &out, const CommonCode &self);
/// Export functions
@ -50,7 +50,7 @@ namespace klotski {
/// Operators of RawCode
bool operator==(const RawCode &raw_code) const;
friend std::ostream& operator<<(std::ostream &out, const RawCode &self);
@ -40,8 +40,8 @@ namespace klotski {
static bool check(uint32_t short_code);
/// Operators of ShortCode
constexpr operator uint32_t() const { return code; }
bool operator==(const ShortCode &short_code) const;
constexpr explicit operator uint32_t() const { return code; }
friend std::ostream& operator<<(std::ostream &out, const ShortCode &self);