• 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: Different classes instantiated from templates SHARE static members!!!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Different classes instantiated from templates SHARE static members!!!


  • Subject: Re: Different classes instantiated from templates SHARE static members!!!
  • From: Scott Ribe <email@hidden>
  • Date: Mon, 08 Jan 2007 08:50:49 -0700
  • Thread-topic: Different classes instantiated from templates SHARE static members!!!

> You could always move the static variable to inside the get function:

Good suggestion, but in this case it would mean rewriting nearly all the
code and winding up with about 3x as much total code in the end, and harder
to read as well. (The behavior of the base class is entirely data-driven,
and the data of the derived classes currently is specified in a nice way, on
its own, grouped and organized for easy reading.)

I prefer to keep using CodeWarrior and hope that given a few more years GCC
finally catches up with its C++ implementation.

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


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

This email sent to email@hidden

  • Follow-Ups:
    • Re: Different classes instantiated from templates SHARE static members!!!
      • From: Steve Checkoway <email@hidden>
References: 
 >Re: Different classes instantiated from templates SHARE static members!!! (From: Adin Hunter Baber <email@hidden>)

  • Prev by Date: CVS
  • Next by Date: Re: How to debug in xcode a ROOT-level executables?
  • Previous by thread: Re: Different classes instantiated from templates SHARE static members!!!
  • Next by thread: Re: Different classes instantiated from templates SHARE static members!!!
  • Index(es):
    • Date
    • Thread