• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Automagic instantiation of singletons? (Christian Brunschen)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Automagic instantiation of singletons? (Christian Brunschen)


  • Subject: Re: Automagic instantiation of singletons? (Christian Brunschen)
  • From: Scott Ribe <email@hidden>
  • Date: Wed, 23 Nov 2005 08:12:03 -0700
  • Thread-topic: Automagic instantiation of singletons? (Christian Brunschen)

> Consequently, this must
> initialize the necessary parts of the run-time system, or it must
> have been initialized before.

There's your mistake. This in no way implies that all the necessary parts of
Cocoa and NSApplication will have been initialized before, or that they will
not be torn down until after C++ static destructors have been called. In
fact, I *know* that the latter is a problem.

--
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 665-7007 voice


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Automagic instantiation of singletons? (Christian Brunschen)
      • From: Greg Hurrell <email@hidden>
References: 
 >Re: Automagic instantiation of singletons? (Christian Brunschen) (From: Theo Vosse <email@hidden>)

  • Prev by Date: GCC 4 Failed during compiling with a framework :(
  • Next by Date: Window icon for document-based app
  • Previous by thread: Re: Automagic instantiation of singletons?
  • Next by thread: Re: Automagic instantiation of singletons? (Christian Brunschen)
  • Index(es):
    • Date
    • Thread