My Project
pinnedGeneral.h
Go to the documentation of this file.
1/* pinnedGeneral.h
2 */
3#ifndef OSL_MOVE_PROBABILITY_PINNEDGENERAL_H
4#define OSL_MOVE_PROBABILITY_PINNEDGENERAL_H
5#include "osl/basic_type.h"
6
7namespace osl
8{
9 namespace move_probability
10 {
20 inline bool operator==(const PinnedGeneral& l, const PinnedGeneral& r)
21 {
22 return l.general == r.general && l.covered == r.covered && l.attack == r.attack;
23 }
24 }
25}
26
27#endif /* OSL_MOVE_PROBABILITY_PINNEDGENERAL_H */
28// ;;; Local Variables:
29// ;;; mode:c++
30// ;;; c-basic-offset:2
31// ;;; End:
bool operator==(const PinnedGeneral &l, const PinnedGeneral &r)
PinnedGeneral(Piece g, Piece c, Square a)