- explicit Endgame(Color c) : strongerSide(c), weakerSide(opposite_color(c)) {}
- Color color() const { return strongerSide; }
- T apply(const Position&) const;
+ explicit Endgame(Color c) : strongSide(c), weakSide(~c) {}
+ Color strong_side() const { return strongSide; }
+ T operator()(const Position&) const;