[gameprogrammer] Re: stl container
- From: "Dave Slutzkin" <daveslutzkin@xxxxxxxxxxx>
- To: gameprogrammer@xxxxxxxxxxxxx
- Date: Thu, 30 Aug 2007 09:01:48 +1000
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
- Follow-Ups:
- [gameprogrammer] Re: stl container
- From: Matthew Weigel
- References:
- [gameprogrammer] stl container
- From: Roger D Vargas
- [gameprogrammer] Re: stl container
- From: Matthew Weigel
- [gameprogrammer] Re: stl container
- From: Roger D Vargas
- [gameprogrammer] Re: stl container
- From: Matthew Weigel
Other related posts:
- » [gameprogrammer] stl container
- » [gameprogrammer] Re: stl container
- » [gameprogrammer] Re: stl container
- » [gameprogrammer] Re: stl container
- » [gameprogrammer] Re: stl container
- » [gameprogrammer] Re: stl container
- » [gameprogrammer] Re: stl container
- » [gameprogrammer] Re: stl container
- » [gameprogrammer] Re: stl container
- » [gameprogrammer] Re: stl container
- » [gameprogrammer] Re: stl container
- [gameprogrammer] Re: stl container
- From: Matthew Weigel
- [gameprogrammer] stl container
- From: Roger D Vargas
- [gameprogrammer] Re: stl container
- From: Matthew Weigel
- [gameprogrammer] Re: stl container
- From: Roger D Vargas
- [gameprogrammer] Re: stl container
- From: Matthew Weigel