Template Class Singleton

Class Documentation

template<typename T>
class Singleton

Class for use as a singleton.

Template Parameters:

T – Target class type.

Public Static Functions

static inline T &get_instance()

Get an instance.

Returns:

An instance.