libmoost
moost::kvds::ScopedFree< T > Struct Template Reference

#include <kvds_bdb_linux.hpp>

List of all members.

Public Member Functions

 ScopedFree ()
 ~ScopedFree ()

Public Attributes

T * p

Detailed Description

template<typename T>
struct moost::kvds::ScopedFree< T >

Some API non-get functions malloc memory, ensure we always free this ie. It's a scoped pointer to free malloc allocated memory

Definition at line 73 of file kvds_bdb_linux.hpp.


Constructor & Destructor Documentation

template<typename T>
moost::kvds::ScopedFree< T >::ScopedFree ( ) [inline]

Definition at line 75 of file kvds_bdb_linux.hpp.

template<typename T>
moost::kvds::ScopedFree< T >::~ScopedFree ( ) [inline]

Definition at line 76 of file kvds_bdb_linux.hpp.


Member Data Documentation

template<typename T>
T* moost::kvds::ScopedFree< T >::p

Definition at line 78 of file kvds_bdb_linux.hpp.


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