Hello. Given the code below does C++ Standard guarantee that the
function my_init() will be called before main()?
struct A
{
A()
{
my_init();
}
};
A g_a;
int main()
{
// ...
}
function my_init() will be called before main()?
struct A
{
A()
{
my_init();
}
};
A g_a;
int main()
{
// ...
}
Comment