Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » operator< for container sorting (small confusion)
Re: operator< for container sorting (small confusion) [message #13081 is a reply to message #13080] Sun, 09 December 2007 16:18 Go to previous message
mirek is currently offline  mirek
Messages: 13976
Registered: November 2005
Ultimate Member
Andy2222 wrote on Sun, 09 December 2007 08:48

ah oki,

is there a std::map<> equivalent container?



No.

Quote:


Or do i call Sort on Vector<> / Array<> before i need it sorted or use the GetSortOrder() call?


In most cases, GetSortOrder for Index / ArrayMap / VectorMap is the best aproach (also generally faster than the cost of maintaining nodebased tree structure like std::map).

Mirek
 
Read Message icon5.gif
Read Message
Read Message
Read Message
Previous Topic: <<= and <<
Next Topic: A couple of issues with a test app
Goto Forum:
  


Current Time: Fri May 10 18:24:38 CEST 2024

Total time taken to generate the page: 0.01607 seconds