qxLib
singleton Class Reference

Inherit the necessary singleton class from this. More...

#include <singleton.h>

Detailed Description

Inherit the necessary singleton class from this.

You can override init() and a destructor to control object creation and destruction events. You can use multiple inheritance with this class, but T must be final.

Template Parameters
T- singleton type
dependencies_t- singleton dependencies, they will be initialized before this one, unless they have already been initialized
Author
Khrapov
Date
18.09.2025

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