libmoost
|
Calls a free function or functor, passing it scoped by *reference*. More...
#include <scope_exit.hpp>
Public Types | |
typedef scopedT | scoped_type |
typedef boost::reference_wrapper < scopedT > | policy_type |
typedef boost::function< void(scoped_type &)> | func_t |
Public Member Functions | |
call_free_function_with_ref (scoped_type &scoped, func_t f_) | |
void | operator() () const |
Private Attributes | |
func_t | f_ |
Calls a free function or functor, passing it scoped by *reference*.
Definition at line 241 of file scope_exit.hpp.
typedef boost::function<void(scoped_type &)> moost::utils::scope_exit::policy::call_free_function_with_ref< scopedT >::func_t |
Definition at line 245 of file scope_exit.hpp.
typedef boost::reference_wrapper<scopedT> moost::utils::scope_exit::policy::call_free_function_with_ref< scopedT >::policy_type |
Definition at line 244 of file scope_exit.hpp.
typedef scopedT moost::utils::scope_exit::policy::call_free_function_with_ref< scopedT >::scoped_type |
Reimplemented from moost::utils::scope_exit::policy::policy_base_with_get< boost::reference_wrapper< scopedT > >.
Definition at line 243 of file scope_exit.hpp.
moost::utils::scope_exit::policy::call_free_function_with_ref< scopedT >::call_free_function_with_ref | ( | scoped_type & | scoped, |
func_t | f_ | ||
) | [inline] |
Definition at line 247 of file scope_exit.hpp.
void moost::utils::scope_exit::policy::call_free_function_with_ref< scopedT >::operator() | ( | void | ) | const [inline] |
Definition at line 252 of file scope_exit.hpp.
func_t moost::utils::scope_exit::policy::call_free_function_with_ref< scopedT >::f_ [private] |
Definition at line 262 of file scope_exit.hpp.