#include <scope_guard.hpp>
Public Member Functions | |
void | disable () |
scope_guard (function0< void > const &call_on_exit) | |
~scope_guard () | |
Private Attributes | |
function0< void > const | m_function |
bool | m_is_active |
Definition at line 29 of file scope_guard.hpp.
boost::threadpool::detail::scope_guard::scope_guard | ( | function0< void > const & | call_on_exit | ) | [inline] |
Definition at line 36 of file scope_guard.hpp.
boost::threadpool::detail::scope_guard::~scope_guard | ( | ) | [inline] |
Definition at line 42 of file scope_guard.hpp.
void boost::threadpool::detail::scope_guard::disable | ( | ) | [inline] |
Definition at line 50 of file scope_guard.hpp.
function0<void> const boost::threadpool::detail::scope_guard::m_function [private] |
Definition at line 32 of file scope_guard.hpp.
bool boost::threadpool::detail::scope_guard::m_is_active [private] |
Definition at line 33 of file scope_guard.hpp.