Linked by Hadrien Grasland on Wed 15th Jun 2011 07:32 UTC, submitted by ebasconp
General Development "The recently finished C++ ISO standard, with the working name of C++0x, is due to be published this summer, following the finishing touches to the ISO spec language and standards wonks agreed upon in March."
Permalink for comment 477392
To read all comments associated with this story, please click here.
RE[6]: Basically, awesome
by ba1l on Thu 16th Jun 2011 11:23 UTC in reply to "RE[5]: Basically, awesome"
ba1l
Member since:
2007-09-08

Assuming that the compiler can inline the overloaded ++ operator (which it should in this case), and you have a trivial copy constructor (which again, should be the case), modern compilers should be able to completely remove the copy. Probably.

Reply Parent Score: 2