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

--- Comment #4 from Sergio Losilla <loximann at gmail dot com> ---
I see, thanks! The second version (constant_ref) which returns the reference to
the captured does not trigger the sanitizer, so returning a reference to that
is valid?

Reply via email to