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

bool