1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

"static initialization order fiasco"

Discussion in 'C' started by sareen, Mar 25, 2008.

  1. sareen

    sareen New Member

    Joined:
    Feb 26, 2008
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    0
    How do I prevent the "static initialization order fiasco"?
     
  2. lead.smart34

    lead.smart34 New Member

    Joined:
    Feb 14, 2008
    Messages:
    77
    Likes Received:
    0
    Trophy Points:
    0
    wrap your static object inside a function.
     

Share This Page