libmoost
moost::utils::scope_exit::policy::free_malloc< scopedT > Struct Template Reference

Calls free on pointer to release a malloc/realloc allocation. More...

#include <scope_exit.hpp>

Inheritance diagram for moost::utils::scope_exit::policy::free_malloc< scopedT >:
Collaboration diagram for moost::utils::scope_exit::policy::free_malloc< scopedT >:

List of all members.

Public Types

typedef scopedT * scoped_type
typedef scoped_type policy_type
typedef
call_free_function_with_val
< scopedT * > 
base_policy

Public Member Functions

 free_malloc (scoped_type const &scoped)

Detailed Description

template<typename scopedT>
struct moost::utils::scope_exit::policy::free_malloc< scopedT >

Calls free on pointer to release a malloc/realloc allocation.

Definition at line 268 of file scope_exit.hpp.


Member Typedef Documentation

template<typename scopedT >
typedef call_free_function_with_val<scopedT *> moost::utils::scope_exit::policy::free_malloc< scopedT >::base_policy

Definition at line 272 of file scope_exit.hpp.

template<typename scopedT >
typedef scopedT* moost::utils::scope_exit::policy::free_malloc< scopedT >::scoped_type

Constructor & Destructor Documentation

template<typename scopedT >
moost::utils::scope_exit::policy::free_malloc< scopedT >::free_malloc ( scoped_type const &  scoped) [inline, explicit]

Definition at line 274 of file scope_exit.hpp.


The documentation for this struct was generated from the following file: