• 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
C++ template pointers vs. objects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

C++ template pointers vs. objects


  • Subject: C++ template pointers vs. objects
  • From: Wesley Smith <email@hidden>
  • Date: Wed, 25 May 2005 19:52:38 -0700

Hi,

What is best practice in C++ when using templates and large
objects...is it to declate a vector of pointers to an object or a
vector of objects as in:

std::vector<largeObject *> objvect;

or

std::vector<largeObject> objvect;

thanks,
wes
 _______________________________________________
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: C++ template pointers vs. objects
      • From: Keith Ray <email@hidden>
    • Re: C++ template pointers vs. objects
      • From: Howard Hinnant <email@hidden>
  • Prev by Date: Re: XML parsar for Info.plist files
  • Next by Date: Re: C++ template pointers vs. objects
  • Previous by thread: Re: XML parsar for Info.plist files
  • Next by thread: Re: C++ template pointers vs. objects
  • Index(es):
    • Date
    • Thread