ReportGuard

class ReportGuard(self: _libsemigroups_pybind11.ReportGuard, val: bool = True)

Objects of this type can be used to enable printing of some information during various of the computation in libsemigroups_pybind11. Reporting is enable (or not) at construction time, and disable when the ReportGuard goes out of scope.

Constructs a ReportGuard with reporting enabled by default.

Parameters

val (bool) -- whether to report or not (default: True).