Prevent static initialization order “fiasco”, C++

The modern, more pattern-oriented way is not to use globals in the first place.

There’s no other way around it.

It wouldn’t be much of a “fiasco”, otherwise!

Leave a Comment