Quantcast
Channel: copy elision in c++03 - Stack Overflow
Browsing all 2 articles
Browse latest View live

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 Article



copy 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
Browsing all 2 articles
Browse latest View live


Latest Images