[Bug c++/111299] lack of warning on dangling reference to temporary
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111299 --- Comment #2 from Andrew Pinski --- (In reply to Jiang An from comment #1) > > What ends up happening is that in order to bind x.value to the reference > > parameter R&& r, we can't actually do that, so instead we create a > > temporary init
[Bug c++/111299] lack of warning on dangling reference to temporary
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111299 Jiang An changed: What|Removed |Added CC||de34 at live dot cn --- Comment #1 from Jian