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