|
|
|
|
|
by Someone
338 days ago
|
|
> That's a nice trick, but contrary to function statics, it is susceptible to SIOF. For those (like me) who don’t recognize that abbreviation, “The static initialization order fiasco (ISO C++ FAQ) refers to the ambiguity in the order that objects with static storage duration in different translation units are initialized in” (https://en.cppreference.com/w/cpp/language/siof.html) |
|