[gameprogrammer] Re: stl container

On Wed, 29 Aug 2007 16:49:10 -0500, "Matthew Weigel"
<unique@xxxxxxxxxxx> said:
>   std::map<non_unique_key_type, std::list<unique_key_type> > EntsByLoc;

How about:

   std::multimap<non_unique_key_type, unique_key_type> EntsByLoc;

Surely this is actually what you want?

Dave.
-- 
  Dave Slutzkin
  Melbourne, Australia
  daveslutzkin@xxxxxxxxxxx


---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html


Other related posts: