Why is the copy constructor not called when returning a local object?
15123
What are copy elision and return value optimization?
45937
Is returning a pointer to a static local variable safe?
119197
How to copy a python class?
4069
How do I call one constructor from another in Java?
129581
Does C++ pass objects by value or reference?
65089
What is the difference between `new Object()` and object literal notation?
87005
Why must the copy assignment operator return a reference/const reference?
10751
Is there a difference between copy initialization and direct initialization?
599
Is Java "pass-by-reference" or "pass-by-value"?
48161
Since I can't return a local variable, what's the best way to return a string from a C or C++ function?
34729
What does a constructor return?
54146
Does calling clone() on an array also clone its contents?
86166
Why are my JavaScript object properties being overwritten by other instances?
127599
Odd situation for "cannot reference this before supertype constructor has been called"
73866
Why must local variables have initial values?
113556
How is an instance initializer different from a constructor?
72685
How to duplicate an object in 2.8 via the Python API