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 » Community » Coffee corner » C++11
Re: C++11 [message #38172 is a reply to message #38147] Mon, 03 December 2012 11:10 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
Lance wrote on Sun, 02 December 2012 13:30

If U++ will adopt rvalue references, will it create the possibility of getting rid of Vector and many other containers/algorithms?


Note: You can use most STL algorithms with U++ containers now, as long as elements satisfy STL requirements, and vice versa.

However, sometimes U++ algorithms are better suited for U++ concrete types (and, again, vice versa). For example, U++ Sort is fater than than std::sort for Vector<String>, but slower for std::vector<std::string> (~30%), as there are subtle choices in algorithm that can favor one or another set of types.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: live session Prague 8.3.2013
Next Topic: Have Visual Studio? Looking for prebuilt SDL 2.0
Goto Forum:
  


Current Time: Mon Apr 29 10:26:27 CEST 2024

Total time taken to generate the page: 0.03037 seconds