libmoost
moost::utils::scope_exit::policy Namespace Reference

Classes

struct  policy_base
 The base for all policies. Models common concept interface. More...
struct  policy_base_with_get
 The base for all policies that implement a getter. More...
struct  set_default_value
 This policy just sets scoped to the default constructed value. More...
struct  set_specific_value
 This policy just sets scoped to a specific value. More...
struct  restore_original_value
 This policy just resets scoped back to the original value. More...
struct  call_member_function
struct  call_member_function< scopedT * >
 specialisation of call_member_function for "this" pointers More...
struct  call_free_function_with_val
 Calls a free function or functor, passing it scoped by *value*. More...
struct  call_free_function_with_ref
 Calls a free function or functor, passing it scoped by *reference*. More...
struct  free_malloc
 Calls free on pointer to release a malloc/realloc allocation. More...
struct  call_functor
 Calls a boost::function0<void> functor. More...