isStateChangedHandler

Judge StateTransitor's EventHandler

template isStateChangedHandler (
Handler
State
) {
enum bool isStateChangedHandler;
enum bool isStateChangedHandler;
}

Examples

enum State {a, b, c}
static assert(isStateChangedHandler!(void delegate(State,State), State));

Meta