I have a question about the singleton pattern.
I saw two cases concerning the static member in the singleton class.
First it is an object, like this
Your first example is more typical for a singleton. Your second example differes in that it is created on-demand.
However I would try to avoid using singletons in general since they are nothing more than global variables.