Search code examples
C++ copy elision when returning a function argument...


c++copy-elisionnrvo

Read More
Why Does Disabling Non-Mandatory Copy Elision Result in Different Behaviors Before and After C++17...


c++c++11c++17copy-elisionnrvo

Read More
Is copy elision mandatory (if allowed at all) in the ternary operator?...


c++c++17language-lawyercopy-elision

Read More
Copy elision when function returns a local variable and temporary via different paths...


c++c++17c++20copy-elisionreturn-value-optimization

Read More
Is copy elision in the form of named return value optimization permitted in C?...


clanguage-lawyercopy-elisionnrvo

Read More
Copy elision (e.g. NRVO) during constant evaluations...


c++visual-c++language-lawyerconstexprcopy-elision

Read More
Why does operator() copy movable temporaries in Clang?...


c++clang++c++23copy-elisionexplicit-object-parameter

Read More
Move elision in explicit object member functions...


c++language-lawyerc++23copy-elisionexplicit-object-parameter

Read More
`std::optional` factory function with guaranteed copy elision and `private` constructor, without pas...


c++c++17explicitcopy-elisionstdoptional

Read More
How to enforce copy elision, why it won't work with deleted copy constructor?...


c++c++11copy-elision

Read More
Shouldn't there be a copy ctor invocation here? Elision disabled (no named return value optimiza...


c++movecopy-constructorcopy-elisionnrvo

Read More
GCC NRVO/RVO warning...


c++gccg++copy-elision

Read More
Is it useful to construct an std::optional using std::in_place when returning from a function?...


c++c++20copy-elisionstdoptional

Read More
Copy elision when initializing a base-class subobject with aggregate initialization...


c++aggregatelanguage-lawyercopy-elision

Read More
C++11 constructor argument: std::move and value or std::forward and rvalue reference...


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

Read More
Why does std::atomic compile since C++17 even with a deleted copy constructor?...


c++initializationc++17stdatomiccopy-elision

Read More
Understanding Pointer Behavior and Copy Elision in Object Returns Pre- and Post-C++17...


c++c++17language-lawyercopy-elisionreturn-value-optimization

Read More
Prvalue semantics object lifetime...


c++copy-elisionreturn-value-optimizationc++-faqprvalue

Read More
How to prevent copy elision when implementing custom array functionality?...


c++c++11copy-elision

Read More
Does a C++17/20 compiler optimize returning a local varaible by copy elision or invoking move constr...


c++c++17c++20copy-elision

Read More
Cast to rvalue reference prevents copy elision...


c++rvalue-referencemove-constructorcopy-elision

Read More
How to efficiently return an object when copy/move elision is disabled?...


c++rvalue-referencecopy-elision

Read More
Why is RVO disallowed when returning a parameter?...


c++language-lawyercopy-elisionreturn-value-optimization

Read More
Is it possible to ensure copy elision?...


c++diagnosticscompiler-directivescopy-elision

Read More
Clang error: calling a private constructor while none of them were actually called...


c++clangcopy-constructorclang++copy-elision

Read More
Does copy elision work with structured bindings...


c++c++17rvaluecopy-elisionstructured-bindings

Read More
Unexpected memcpy on uncopyable & unmovable type when using co_await...


c++undefined-behaviorcopy-elisionc++-coroutine

Read More
What are copy elision and return value optimization?...


c++optimizationc++-faqreturn-value-optimizationcopy-elision

Read More
C++ nrvo/copy elision with return statement in parentheses...


c++language-lawyercopy-elisionnrvo

Read More
Copy/move elision vs emplace with std::optional...


c++gcccopy-elisionemplacestdoptional

Read More
BackNext