I would like to propose we disallow capturing temporaries using a constant
reference:
const T& val = f();

*The reasons, and examples for this are outlined in the proposal here:*
[Review Board]: https://reviews.apache.org/r/32630/
[original markdown version]:
https://gist.github.com/jmlvanre/8a3de53ae88c2d19b375


Please feel free to comment here on the dev-list, though I also urge you to
comment on the Review Request as putting proposal markdowns on RB is
something new we're trying!

Joris

Reply via email to