|
My Project
|
#include <directCheck.h>
Static Public Member Functions | |
| static bool | isMember (const NumEffectState &state, Ptype ptype, Square to) |
| template<class State> | |
| static bool | isMember (const State &state, Ptype ptype, Square, Square to) |
Definition at line 13 of file directCheck.h.
|
inlinestatic |
最初から王手ということはない.
stateを動かしていないので,fromにある駒がtoからの利きを blockすることは あるが,blockされた利きが王手だったとすると,動かす前から王手 だったとして矛盾するのでOK
Definition at line 15 of file directCheck.h.
References osl::alt(), osl::NumEffectState::hasEffectIf(), and osl::newPtypeO().
Referenced by osl::move_classifier::Check< P >::isMember(), and isMember().
|
inlinestatic |
Definition at line 32 of file directCheck.h.
References isMember().