[Bug c++/107532] [13 Regression] -Werror=dangling-reference false positives in libcamera-0.0.1

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Mar 10 16:52:35 GMT 2023


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

--- Comment #16 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Span is a view, so it is like reference-wrapper. The lifetime of the underlying
data is not tied to the lifetime of the Span.


More information about the Gcc-bugs mailing list