This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

merging all stl containers of pointer objects


Hi GCC Folks,

I'd like to reduce the number of STL instances in a
large project by merging all vector<T*> to be
vector<void*> under the hood with just some type
checking.  I know I can do this through a series of
derived classes, but it seems like there should be an
easier way to do this (optimally GCC could be smart
enough to do this for me).  Any ideas?


      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]