Returning large objects from function: by value VS by pointer
110231
Returning Large Objects in Functions
7739
Segmentation fault on large array sizes
19957
Is returning early from a function more elegant than an if statement?
75821
Really impossible to use return type overloading?
83059
Variable Length Array overhead in C++?
34247
C++ performance of accessing member variables versus local variables
45937
Is returning a pointer to a static local variable safe?
35697
Performance of Arrays vs. Lists
5367
In what cases do I use malloc and/or new?
74336
String literals inside functions: automatic variables or allocated in heap?
35227
How to "return an object" in C++?
94610
Avoiding copy of objects with the "return" statement
53354
Structure of a C++ Object in Memory Vs a Struct
15123
What are copy elision and return value optimization?
4897
Best way to return multiple values from a function?
15306
Should we pass a shared_ptr by reference or by value?
39222
Is there a difference between return myVar vs. return (myVar)?