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

Creator policy that creates the singleton in static memory. More...

#include <singleton.hpp>

List of all members.

Static Public Member Functions

static T * create ()
 Creator function.
static void destroy (T *obj)
 Destroyer function.

Detailed Description

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

Creator policy that creates the singleton in static memory.


Member Function Documentation

template<typename T >
static T* psynth::base::create_with_static< T >::create ( ) [inline, static]

Creator function.

template<typename T >
static void psynth::base::create_with_static< T >::destroy ( T *  obj) [inline, static]

Destroyer function.


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