https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118670
Jeremy R. <llvm at rifkin dot dev> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|DUPLICATE |FIXED
--- Comment #3 from Jeremy R. <llvm at rifkin dot dev> ---
Thanks Andrew,
Two thoughts:
Firstly, I'm surprised to see a normal reference and a std::reference_wrapper
behaving differently for this diagnostic. What's the reason for this being
intentional?
Secondly, would it make sense to mention gnu::no_dangling in the
-Wdangling-reference diagnostic message?