ReportGuard¶
Declared in report.hpp
.
-
struct ReportGuard¶
This struct can be used to enable printing of some information during various of the computation in
libsemigroups
. Reporting is enable (or not) at construction time, and disable when the ReportGuard goes out of scope.Public Functions
-
inline explicit ReportGuard(bool val = true)¶
Constructs a ReportGuard with reporting enabled by default.
- Parameters:
val – whether to report or not (default:
true
).
-
inline explicit ReportGuard(bool val = true)¶