A recent question here had the following code (well, similar to this) to implement a singleton without synchronisation.
There are a few good questions and answers here around the \"static initialization order fiasco\", but I seem to have hit against yet another expression of it, specially ugly because it does not crash
I was reading about SIOF from a bo开发者_如何学运维ok and it gave an example : //file1.cpp extern int y;
I read about the static initialization order fiasco in C++ relating to crash of the application. I think I understood it but still have few questions: