ReportGuard¶
Declared in report.hpp
.
-
struct
libsemigroups
::
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
-
ReportGuard
(bool val = true)¶ Constructs a ReportGuard with reporting enabled by default.
- Parameters
val
: whether to report or not (default:true
).
-