query: Returning a reference to a local/temprorary object without causing a memory leak?
positive_passages.docid: 2063
positive_passages.text: Can a local variable's memory be accessed outside its scope?
negative_passages.docid: 10150
negative_passages.text: Should I use static_cast or reinterpret_cast when casting a void* to whatever
negative_passages.docid: 1462
negative_passages.text: UnboundLocalError on local variable when reassigned after first use
negative_passages.docid: 55780
negative_passages.text: Objects eligible for garbage collection
negative_passages.docid: 76488
negative_passages.text: What is a reference-to-pointer?
negative_passages.docid: 23820
negative_passages.text: localStorage - use getItem/setItem functions or access object directly?
negative_passages.docid: 33243
negative_passages.text: Self-references in object literals / initializers
negative_passages.docid: 15123
negative_passages.text: What are copy elision and return value optimization?
negative_passages.docid: 75821
negative_passages.text: Really impossible to use return type overloading?
negative_passages.docid: 92567
negative_passages.text: If a function returns no value, with a valid return type, is it okay to for the compiler to return garbage?
negative_passages.docid: 66012
negative_passages.text: Returning a const reference to an object instead of a copy
negative_passages.docid: 46785
negative_passages.text: Circular References Cause Memory Leak?
negative_passages.docid: 78469
negative_passages.text: Is a closure for dereferencing variables useful?
negative_passages.docid: 35227
negative_passages.text: How to "return an object" in C++?
negative_passages.docid: 70969
negative_passages.text: Is there any way to access a local variable in outer scope in C++?
negative_passages.docid: 12683
negative_passages.text: How to access a local variable from a different function using pointers?
negative_passages.docid: 78810
negative_passages.text: How to create a memory leak in C++?