Y
yuliy
Hello,
I am not sure. If I declare inside a function a static variable I can
be sure that it is initialised exactly once, and , what is important to
me in presence of multithread environment, also only once Right?
void foo ()
{
static SomeClass a;
.....
}
I am not sure. If I declare inside a function a static variable I can
be sure that it is initialised exactly once, and , what is important to
me in presence of multithread environment, also only once Right?
void foo ()
{
static SomeClass a;
.....
}