Search code examples
How to have "factory function" return a non copyable object?...


c++c++11move-semanticscopy-elisionnoncopyable

Read More
How copy constructor can be called with rvalue...


c++11copy-constructormove-semanticsmove-constructorcopy-elision

Read More
Why is the move constructor involved here...


c++c++11initializationcopy-elision

Read More
Implicit conversion operator vs template constructor - who should be prioritized?...


c++language-lawyerc++17copy-elisionconversion-operator

Read More
Shouldn't guaranteed copy elision apply?...


c++c++17copy-elision

Read More
Does the behavior of guaranteed copy elision depend on existence of user-defined copy constructor?...


c++language-lawyerc++17copy-elisiongcc8

Read More
Can copy elision/RVO cause a copy/move from the same object...


c++copy-elisionreturn-value-optimization

Read More
Copy/move elision requires explicit definition of copy/move constructors...


c++c++17copy-constructormove-semanticscopy-elision

Read More
Why there is no temporary object when returning an object through the constructor?...


c++destructortemporary-objectscopy-elision

Read More
Interaction between std::move, return value optimization and destructors...


c++11copy-elisionreturn-value-optimizationstdmove

Read More
Why does copy elision not occur in this case?...


c++copy-elision

Read More
Copy elision of map iterator pair value...


c++c++11copy-elision

Read More
Does C++17 forbid copy elision in a case where C++14 allowed it?...


c++language-lawyercopy-elisionc++17

Read More
How many temporary objects are created when two objects are added together without the return value ...


c++operator-keywordcopy-elisionreturn-value-optimizationeffective-c++

Read More
Show where temporaries are created in C++...


c++copy-elisiontemporaries

Read More
Why isn't move constructor elided whenever possible with `make_x()` functions?...


c++language-lawyermove-semanticsperfect-forwardingcopy-elision

Read More
Can copy elision be perfomed in aggregate initialization in c++17?...


c++c++17copy-elisionaggregate-initialization

Read More
copy elision of temporary object...


c++c++17copy-elision

Read More
RVO force compilation error on failure...


c++c++11inlinecompiler-optimizationcopy-elision

Read More
initializing a non-copyable member (or other object) in-place from a factory function...


c++c++11initializationcopy-elision

Read More
Is copy/move elision allowed to make a program using deleted functions well-formed?...


c++constructorc++17copy-elision

Read More
What is copy elision and how does it optimize the copy-and-swap idiom?...


c++optimizationcopy-and-swapcopy-elision

Read More
Constructing and Destructing of local variable and return variable in C++...


c++constructordestructormove-constructorcopy-elision

Read More
Is there any way to achieve move elision...


c++copy-elision

Read More
How to force the call to move constructor and why should I do that?...


c++move-semanticstemporary-objectscopy-elision

Read More
Why does for_each return function by move...


c++c++11movec++17copy-elision

Read More
How to in-place initialize an array?...


c++arraysin-placecopy-elisiondeleted-functions

Read More
Guaranteed elision and chained function calls...


c++c++17copy-elision

Read More
Does the standard state that copies must be equivalent?...


c++language-lawyercopy-constructorcopy-elision

Read More
Why are move semantics necessary to elide temporary copies?...


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

Read More
BackNext