[Bug c++/109642] False Positive -Wdangling-reference with std::span-like classes

barry.revzin at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Jun 21 19:06:04 GMT 2023


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109642

--- Comment #10 from Barry Revzin <barry.revzin at gmail dot com> ---
Check out the report I opened for an example where the #pragma around the whole
class isn't really enough anyway - since you might want to disable the warning
for specializations of class/function templates.


More information about the Gcc-bugs mailing list