Search code examples
Copy elision seems to occur even if compiling with -fno-elide-constructors...


c++c++11move-semanticscopy-elision

Read More
How does guaranteed copy elision work in list-initialization in C++1z?...


c++c++17copy-elisionlist-initialization

Read More
Will 'Guaranteed Copy Elision' (P0135, C++1z) potentially require ABI breakage?...


c++language-lawyerabic++17copy-elision

Read More
Can the compiler elide the following copy?...


c++copy-elision

Read More
copy elision and virtual cloning...


c++copy-elision

Read More
Storing a pointer to object returned with NRVO...


c++c++11copy-elision

Read More
understanding copy constructor calls and named return value optimization...


c++copy-constructorcopy-elision

Read More
Are C++ compilers allowed to replace construct + moveconstruct with just a construct?...


c++c++11constructormove-constructorcopy-elision

Read More
Clang and GCC vs MSVC and ICC: Is a static_assert in the copy/move constructor required to work, if ...


c++c++11language-lawyerstatic-assertcopy-elision

Read More
Returning temporaries of type with deleted move/copy ctor...


c++temporarycopy-elision

Read More
Will any compiler actually ever elide these copies?...


c++pass-by-valuecopy-elision

Read More
Will compilers apply move semantics automatically in a setter method?...


c++c++11compiler-optimizationmove-semanticscopy-elision

Read More
Why is object copy constructed and destructed twice?...


c++destructorcopy-constructorcopy-elision

Read More
Is this code well-defined regardless of copy elision?...


c++undefined-behaviorcopy-elision

Read More
Is there any special reason why the move constructor is not elided in the snippet shown below?...


c++exceptionc++14copy-elision

Read More
While doing copy-elision, the compiler doesn't consider the copy constructor in overload resolut...


c++language-lawyerc++14copy-elision

Read More
Copy/move elision versus explicitly deleted copy/move constructors...


c++constructormove-semanticsdelete-operatorcopy-elision

Read More
Do implicit class-type conversions use the copy-constructor?...


c++copy-constructorimplicit-conversioncopy-elisioncopy-initialization

Read More
Return value optimization and copy elision in C...


c++cstructreturn-value-optimizationcopy-elision

Read More
How to return std::vector from a function using C++11 move semantics?...


c++c++11move-semanticscopy-elision

Read More
Too many destructors called on template classes (N)RVO optimization...


c++templatesc++11copy-elision

Read More
Copy Elision Misunderstanding...


c++c++11copy-elision

Read More
Auto and copy elision...


c++c++11autocopy-elision

Read More
Return object that cannot be copied by value...


c++copy-constructorc++14copy-elision

Read More
copy elision visible side effect...


c++c++11copy-elision

Read More
Copy elision in range based for loops...


c++c++11copy-elision

Read More
Template class copy constructor not called...


c++templatescopy-constructorcopy-elision

Read More
Should the return value of binary operator+ overload be const and can it interfere with optimization...


c++operator-overloadingconstantsc++03copy-elision

Read More
Why does/ does not NRVO kick in g++ in the code below?...


c++g++copy-elision

Read More
In what cases can't a modern day compiler apply the NRVO optimization for functions?...


c++c++11move-semanticsrvalue-referencecopy-elision

Read More
BackNext