Why can't use the Result class as a member variable in my class?
When I have :
class JUCE_API AppMainConfig
static AppMainConfig& getInstance();
I get the error "error C2248: 'juce::Result::Result' : cannot access private member declared in class 'juce::Result' , which is marked on the class constructor definition.
I guess it's something simple but, after several hours on the issue, I could not see it ...
PS. : As it shown my class is a singeton one.
Edit : I realize the real reason of the error.
What I'm asking is : is there a way to use the Result class as a member inside an other class ?