Like a Singleton implementation


#1

Hi all,

I am trying just to implement a class with only one instance and with global availability all over the project .cpp files.

The first of these is simple and well known.

However on the second theme of global availability, I don't have any results, no matter what i did.

I guess it is something simple in juce environment, but I could not find the appropriate solution.

 

Any suggestion please ?

 

Thanks in advance

George

 

  


#2

SharedResourcePointer?


#3

Thanks !

I did it