"static initialization order fiasco"

sareen's Avatar, Join Date: Feb 2008
Go4Expert Member
How do I prevent the "static initialization order fiasco"?
lead.smart34's Avatar, Join Date: Feb 2008
Contributor
wrap your static object inside a function.