My Project
enterKing.h
Go to the documentation of this file.
1 /* enterKing.h
2  */
3 #ifndef OSl_ENTERKING_H
4 #define OSl_ENTERKING_H
5 
6 #include "osl/numEffectState.h"
7 
8 namespace osl
9 {
10  namespace enter_king
11  {
12  struct EnterKing
13  {
14  static bool
15 #ifdef __GNUC__
16  __attribute__ ((pure))
17 #endif
18  canDeclareWin(const NumEffectState& state);
19  template <Player P>
20  static bool
21 #ifdef __GNUC__
22  __attribute__ ((pure))
23 #endif
24  canDeclareWin(const NumEffectState& state);
25 
26  static bool canDeclareWin(const NumEffectState& state, int &drops);
27  template <Player P>
28  static bool canDeclareWin(const NumEffectState& state, int &drops);
29  };
30 
31  } // namespace enter_king
33 } // namespace osl
34 
35 #endif /* OSl_ENTERKING_H */
36 // ;;; Local Variables:
37 // ;;; mode:c++
38 // ;;; c-basic-offset:2
39 // ;;; End:
利きを持つ局面
const PtypeO PTYPEO_EDGE __attribute__((unused))
static bool canDeclareWin(const NumEffectState &state)
Definition: enterKing.cc:5