nlib
|
Singleton of the type for implicitly constructing an instance based on a static
variable before calling the main
function.
More...
#include "nn/nlib/SimpleSingleton.h"
Static Public Member Functions | |
static T & | Instance () |
Gets the singleton instance of T . More... | |
Singleton of the type for implicitly constructing an instance based on a static
variable before calling the main
function.
T | The singleton target class. |
Instance
function from the static
object code before the main
function starts. T
class. In addition, you must be operating on a single thread both before and after the main
function runs. T
destructor may result in dependency problems. Definition at line 11 of file SimpleSingleton.h.
|
inlinestatic |
Gets the singleton instance of T
.
T
. Definition at line 21 of file SimpleSingleton.h.
© 2012-2016 Nintendo Co., Ltd. All rights reserved.