merging all stl containers of pointer objects

Aliesha Finkel agfinkel@yahoo.com
Fri Jan 11 11:25:00 GMT 2008


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



More information about the Gcc-help mailing list