Collaboration diagram for Lifetime policies:
Modules | |
LongevityLifetime | |
Classes | |
struct | Loki::DefaultLifetime< T > |
struct | Loki::PhoenixSingleton< T > |
struct | Loki::DeletableSingleton< T > |
struct | Loki::SingletonWithLongevity< T > |
struct | Loki::NoDestroy< T > |
class | Loki::FollowIntoDeath |
Functions | |
template<typename T, typename Destroyer> | |
void | Loki::SetLongevity (T *pDynObject, unsigned int longevity, Destroyer d) |
void Loki::SetLongevity | ( | T * | pDynObject, | |
unsigned int | longevity, | |||
Destroyer | d | |||
) |
Assigns an object a longevity; ensures ordered destructions of objects registered thusly during the exit sequence of the application