libpsynth 0.2.1
Static Public Member Functions
psynth::base::create_with_new< T > Struct Template Reference

Creator singleton policy that uses new and delete to allocate and free the singleton. More...

#include <singleton.hpp>

List of all members.

Static Public Member Functions

static T * create ()
static void destroy (T *var)

Detailed Description

template<typename T>
struct psynth::base::create_with_new< T >

Creator singleton policy that uses new and delete to allocate and free the singleton.


Member Function Documentation

template<typename T >
static T* psynth::base::create_with_new< T >::create ( ) [inline, static]
template<typename T >
static void psynth::base::create_with_new< T >::destroy ( T *  var) [inline, static]

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