Itoyori  v0.0.1
ityr::common::singleton< T > Class Template Reference

#include <util.hpp>

Inheritance diagram for ityr::common::singleton< T >:

Public Types

using instance_type = T
 

Static Public Member Functions

static auto & get ()
 
static bool initialized ()
 
template<typename... Args>
static void init (Args &&... args)
 
static void fini ()
 

Member Typedef Documentation

◆ instance_type

template<typename T >
using ityr::common::singleton< T >::instance_type = T

Member Function Documentation

◆ fini()

template<typename T >
static void ityr::common::singleton< T >::fini ( )
inlinestatic

◆ get()

template<typename T >
static auto& ityr::common::singleton< T >::get ( )
inlinestatic

◆ init()

template<typename T >
template<typename... Args>
static void ityr::common::singleton< T >::init ( Args &&...  args)
inlinestatic

◆ initialized()

template<typename T >
static bool ityr::common::singleton< T >::initialized ( )
inlinestatic

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