Schnek
schnek::schnek::CreateUsingNew< TYPE > Struct Template Reference

#include <logger.hpp>

Static Public Member Functions

static TYPE * create ()
 

Detailed Description

template<class TYPE>
struct schnek::schnek::CreateUsingNew< TYPE >

Creation policy for the Singleton class.

CreateUsingNew is used as a template parameter for the Singleton class. It determines the creation policy and creates the singleton object by calling new.

The type to create is given by the template parameter TYPE

Member Function Documentation

◆ create()

template<class TYPE >
static TYPE* schnek::schnek::CreateUsingNew< TYPE >::create ( )
inlinestatic

Create the object of type TYPE by calling the standard "new" allocation


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