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

--- Comment #6 from Tomasz KamiƄski <tkaminsk at gcc dot gnu.org> ---
But then very similar case will still depend on lifetime of sr.
void foo(S&);
std::function_ref(std::non_type<&foo>, sr);

Reply via email to