[Bug c++/102223] no warning whel calling member function on dangling reference
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102223 Richard Biener changed: What|Removed |Added Keywords||diagnostic Severity|normal
[Bug c++/102223] no warning whel calling member function on dangling reference
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102223 --- Comment #1 from Federico Kircheis --- Sorry, I copied the wrong snippet, it should have been #include struct s{ s() noexcept; ~s(); int value() const noexcept; }; s foo() noexcept; int bar(){ const auto& v = std::move