Protium
Math and Design Features
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Macros Pages
Protium::Singleton::CreateMalloc< T > Struct Template Reference

Helper struct to create instances with malloc, and deallocate with free. More...

#include <CreationPolicies.h>

Static Public Member Functions

static T * Create ()
 
static void Destroy (T *p)
 

Detailed Description

template<class T>
struct Protium::Singleton::CreateMalloc< T >

Helper struct to create instances with malloc, and deallocate with free.

Definition at line 43 of file CreationPolicies.h.

Member Function Documentation

template<class T >
static T* Protium::Singleton::CreateMalloc< T >::Create ( )
inlinestatic

Definition at line 44 of file CreationPolicies.h.

template<class T >
static void Protium::Singleton::CreateMalloc< T >::Destroy ( T *  p)
inlinestatic

Definition at line 50 of file CreationPolicies.h.