U++ framework
Do not panic. Ask here before giving up.

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: 14290
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: Wed Apr 29 10:09:34 GMT+2 2026

Total time taken to generate the page: 0.00556 seconds