Browse Source
The order of initialization of non-local objects in different compilation units is not specified in C++. Hence special care should be taken to avoid static initialization order fiasco. CLN solved the problem with some evil (GCC specific, and even GCC-version-specific) hack. Replace it with a technique similar to one used in STL to initialize std::cout and friends.master
Alexei Sheplyakov
17 years ago
3 changed files with 32 additions and 13 deletions
Loading…
Reference in new issue