Asposecpplib
System::static_holder< T > Struct Template Reference

Singleton wrapper class. More...

Static Public Member Functions

static T & GetValue ()
 Singleton accessor function. More...
 

Detailed Description

template<typename T>
struct System::static_holder< T >

Singleton wrapper class.

Template Parameters
TSingleton type.

Member Function Documentation

◆ GetValue()

template<typename T >
static T& System::static_holder< T >::GetValue ( )
inlinestatic

Singleton accessor function.

Returns
Singleton reference.