21             const Piece p=state.pieceOnBoard(check_move.
to());
 
   28           if (state.pieceOnBoard(check_move.
from()).ptype() != check_move.
oldPtype()
 
   37                 p = state.pieceOf(num);
 
   49                 p = state.pieceOf(num);
 
   67               if (! state.isValidMoveByRule(check_move, 
false))
 
   72         if (! state.isAlmostValidMove<
false>(check_move))