1 question
5
votes
2
answers
173
views
Prevent automatic storage of pseudo references
I'm replacing a method returning a reference with a method returning a pseudo-reference.
Given a method Get() that used to return a reference, this code has a problem:
auto value = Object.Get();
...