C
Chris Forone
hello group,
is there a problem with meyers-singleton when defined in header-file?
example (someheader.h):
class a
{
static a& Instance() {static a instance; return instance;}
}
or can a static member not be implicit inline?
thx & hand, chris
is there a problem with meyers-singleton when defined in header-file?
example (someheader.h):
class a
{
static a& Instance() {static a instance; return instance;}
}
or can a static member not be implicit inline?
thx & hand, chris