List Question
20 TechQA 2024-02-25T18:21:08.273000Can a return value be optimized out in case it is dependent in function parameter?
119 views
Asked by dwto
Understanding Pointer Behavior and Copy Elision in Object Returns Pre- and Post-C++17
257 views
Asked by Sami
C++17 Copy elision object lifetime
206 views
Asked by Elucidase
Prvalue semantics object lifetime
222 views
Asked by Elucidase
Is passing the uninitialized variable to function considered UB in C++?
132 views
Asked by Greg
Why isn't named return value optimization working here?
177 views
Asked by Zebrafish
Why cant copy elision take place when a 'by-value' parameter is also the 'by-value' return argument?
79 views
Asked by EL IAS
How to enforce copy elision in C++20?
269 views
Asked by Anne Quinn
Operator overloading: Modify temporary object or create new one
204 views
Asked by phlipsy
Custom static cast function template in C++14
194 views
Asked by spdie
Returning std::unique_ptr<> in a register. Can it be done?
59 views
Asked by sh-
C++ return by value class objects's memory whereabouts in wake of optimizations
85 views
Asked by codepoet
Why does C++ compilation for named return value optimization fail when the copy or move constructor is deleted?
172 views
Asked by Nathan Doromal
Does it work when a reference refers to a function's return value?
129 views
Asked by f1msch
Does a temporary shared_ptr returned by value have the counter incremented?
110 views
Asked by Mix Kira
Taking address of RVO-optimized static
58 views
Asked by glades
When in C++14 with RVO/NRVO closed, how is the object returned?
129 views
Asked by Isuxiz Slidder
Destructor called twice with Return Value Optimization
128 views
Asked by roi_saumon
MSVC: why calling a static function generates more assembly code than calling an instance method?
129 views
Asked by Laurent
NRVO. Turning off elision. C++11 vs C++17
236 views
Asked by TCD