:relfileprefix: ../../../
[#C7BA53719D96A50D5D115BBA9176EC0297E585D8]

= Function scope_exit::active

pass:v,q[Returns] `true` pass:v,q[if the scope guard is active, otherwise] `false.`


== Synopsis

Declared in header `<https://github.com/Lastique/scope/blob/develop/include/boost/scope/scope_exit.hpp#L463[boost/scope/scope_exit.hpp,window=blank_]>`

[source,cpp,subs="verbatim,macros,-callouts"]
----
bool
active() const noexcept;
----

== Description

[NOTE]
pass:v,q[This method does not call the condition function object specified on construction.]
pass:v,q[**Throws:** Nothing.]



== Return Value

* `bool` 




