| 231 | |
| 232 | template <typename T1, typename T2> |
| 233 | void appendIf(const char *probe, T1 &&then, T2 &&els) { |
| 234 | IfTactic t(probe, make_unique<T1>(std::move(then)), |
| 235 | make_unique<T2>(std::move(els))); |
| 236 | append(t.t); |
| 237 | if (tactic_verbose) |
| 238 | tactics.emplace_back(make_unique<IfTactic>(std::move(t))); |
| 239 | } |
| 240 | |
| 241 | TacticResult exec(const Goal &goal0) const override { |
| 242 | Goal goal(goal0); |
no outgoing calls
no test coverage detected