Answer by Thomas Sablik for copy elision in c++03
Yes, copy ellision is permitted in C++03 and C++98. That's the paragraph for C++98 and C++03:Non-mandatory elision of copy operationsUnder the following circumstances, the compilers are permitted,...
View Articlecopy elision in c++03
Copy-elision is, in some cases, mandatory in c++17, and permitted in c++11/14. This in particular concerns copy initialization.For example, the following program#include <iostream>struct A{...
View Article