libmoost
|
Calls a free function or functor, passing it scoped by *value*. More...
#include <scope_exit.hpp>
Public Types | |
typedef scopedT | scoped_type |
typedef scopedT | policy_type |
typedef boost::function< void(scoped_type const &)> | func_t |
Public Member Functions | |
call_free_function_with_val (scoped_type const &scoped, func_t f_) | |
void | operator() () const |
Private Attributes | |
func_t | f_ |
Calls a free function or functor, passing it scoped by *value*.
Definition at line 214 of file scope_exit.hpp.
typedef boost::function<void(scoped_type const &)> moost::utils::scope_exit::policy::call_free_function_with_val< scopedT >::func_t |
Definition at line 218 of file scope_exit.hpp.
typedef scopedT moost::utils::scope_exit::policy::call_free_function_with_val< scopedT >::policy_type |
Reimplemented in moost::utils::scope_exit::policy::free_malloc< scopedT >.
Definition at line 217 of file scope_exit.hpp.
typedef scopedT moost::utils::scope_exit::policy::call_free_function_with_val< scopedT >::scoped_type |
Reimplemented from moost::utils::scope_exit::policy::policy_base_with_get< scopedT >.
Reimplemented in moost::utils::scope_exit::policy::free_malloc< scopedT >.
Definition at line 216 of file scope_exit.hpp.
moost::utils::scope_exit::policy::call_free_function_with_val< scopedT >::call_free_function_with_val | ( | scoped_type const & | scoped, |
func_t | f_ | ||
) | [inline] |
Definition at line 220 of file scope_exit.hpp.
void moost::utils::scope_exit::policy::call_free_function_with_val< scopedT >::operator() | ( | void | ) | const [inline] |
Definition at line 225 of file scope_exit.hpp.
func_t moost::utils::scope_exit::policy::call_free_function_with_val< scopedT >::f_ [private] |
Definition at line 235 of file scope_exit.hpp.