News for hackers. Stuff that matters.
Re:Getting Past C by arunmu on Wednesday January 04, 2017 @08:48AM (#13318180)
> Most optimizations you can do by reusing a moved value could be done automatically by the compiler

Not if constructing the object is costly. It is very well possible for an object not to have a default constructor.

Re:Getting Past C by Manishearth on Wednesday January 04, 2017 @02:19PM (#13321190)
Like I said, most optimizations. Such datatypes are rare and this is eclipsed by the cost of reallocing common types like vectors.