MIRA
Static Public Member Functions | List of all members
NormalLifetime< T > Struct Template Reference

Implementation of the LifetimePolicy that is used by the Singleton template. More...

#include <utils/Singleton.h>

Static Public Member Functions

static void scheduleDestruction (T *, Private::atexit_lifetime_fn fun)
 

Detailed Description

template<typename T>
struct mira::singleton::NormalLifetime< T >

Implementation of the LifetimePolicy that is used by the Singleton template.

This policy implements the normal C++ lifetime, i.e. singletons that are created first, are destroyed last.

Member Function Documentation

◆ scheduleDestruction()

static void scheduleDestruction ( T *  ,
Private::atexit_lifetime_fn  fun 
)
inlinestatic

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