2#ifndef PROBFD_UTILS_GUARDS_H
3#define PROBFD_UTILS_GUARDS_H
19 explicit scope_success(F&& f)
25 if (!std::uncaught_exceptions()) f_();
34 explicit scope_fail(F&& f)
40 if (std::uncaught_exceptions()) f_();
49 explicit scope_exit(F&& f)
53 ~scope_exit() { f_(); }
60 explicit TimerScope(utils::Timer& timer);
The top-level namespace of probabilistic Fast Downward.
Definition command_line.h:8