This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
merging all stl containers of pointer objects
- From: Aliesha Finkel <agfinkel at yahoo dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 9 Jan 2008 21:37:56 -0800 (PST)
- Subject: 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