enterKing.h
Go to the documentation of this file.
/* enterKing.h
*/
#ifndef OSl_ENTERKING_H
#define OSl_ENTERKING_H
#include "osl/numEffectState.h"
namespace osl
{
namespace enter_king
{
struct EnterKing
{
static bool
#ifdef __GNUC__
__attribute__ ((pure))
#endif
canDeclareWin(const NumEffectState& state);
template <Player P>
static bool
#ifdef __GNUC__
__attribute__ ((pure))
#endif
canDeclareWin(const NumEffectState& state);
static bool canDeclareWin(const NumEffectState& state, int &drops);
template <Player P>
static bool canDeclareWin(const NumEffectState& state, int &drops);
};
} // namespace enter_king
using enter_king::EnterKing;
} // namespace osl
#endif /* OSl_ENTERKING_H */
// ;;; Local Variables:
// ;;; mode:c++
// ;;; c-basic-offset:2
// ;;; End:
osl::NumEffectState
利きを持つ局面
Definition numEffectState.h:34
osl::enter_king
Definition enterKing.cc:147
osl
Definition additionalEffect.h:6
osl::__attribute__
const PtypeO PTYPEO_EDGE __attribute__((unused))
numEffectState.h
osl::enter_king::EnterKing
Definition enterKing.h:13
osl::enter_king::EnterKing::canDeclareWin
static bool canDeclareWin(const NumEffectState &state)
Definition enterKing.cc:5