|
paludis
Version 1.4.0
|
#include <singleton.hh>
Inheritance diagram for paludis::Singleton< OurType_ >:Friends | |
| class | DeleteOnDestruction |
Basic operations | |
| Singleton ()=default | |
| Singleton (const Singleton &)=delete | |
| const Singleton & | operator= (const Singleton &)=delete |
Singleton operations | |
| static OurType_ * | get_instance () PALUDIS_ATTRIBUTE((warn_unused_result)) |
| static void | destroy_instance () |
Singletons have a single instance and are created when first used.
|
static |
Destroy our instance.
|
static |
Fetch our instance.
1.8.3.1