32 template <
class Function,
bool InterestEmpty>
35 template <Player P,
class Function,
bool InterestEmpty>
51 const Piece king = state.kingPiece(P);
53 return safeCaptureNotByKing<BLACK>(state,
target, king);
55 return safeCaptureNotByKing<WHITE>(state,
target, king);
62 template <
class Action>
67 state.template forEachEffect<BLACK>(pos,a);
69 state.template forEachEffect<WHITE>(pos,a);
80 template <
class EvalT>
84 template <
class EvalT>