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 » Pick overloaded by Rvalue?
Re: Pick overloaded by Rvalue? [message #19285 is a reply to message #19283] Mon, 24 November 2008 10:47 Go to previous messageGo to previous message
bytefield is currently offline  bytefield
Messages: 210
Registered: December 2007
Experienced Member
So, is better for Upp and for us to stay away from C++ new standard.

luzr wrote

Unfortunately, the main disadvantage of rvalue references is that they do not compose:

struct Foo {
Vector<int> x, y;
};

- such construct would lack auto-generated pick constructor.

I think that is solved by using rvalue references + "move" constructor, that if every object implement move constructor(thought not auto-generated).

Anyway, why take so much to implement C++0x? I see g++ advancing pretty fast while implement new standard, e.g. now it support rvalue references in 4.3.2 (with -std=c++0x) and initializer lists in g++ from svn. However, is better implmentig it slowly, it means i will have 3 years from now to learn new standard and i think 3 years are enough.


cdabbd745f1234c2751ee1f932d1dd75
 
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
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Looking for someone to convert a ulimate++ project to Microsoft Visual C++ project
Next Topic: Fantastic work!!
Goto Forum:
  


Current Time: Sat May 11 19:43:07 CEST 2024

Total time taken to generate the page: 0.02670 seconds