Activates or deactivates the scope guard.
Synopsis
Declared in header <boost/scope/scope_exit.hpp>
void
set_active(bool active) noexcept;
Description
Throws: Nothing.
Return Value
-
void
Parameters
| Name | Type |
|---|---|
active |
|
Activates or deactivates the scope guard.
Declared in header <boost/scope/scope_exit.hpp>
void
set_active(bool active) noexcept;
Throws: Nothing.
void
| Name | Type |
|---|---|
active |
|