https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92593
Andrew Sutton <andrew.n.sutton at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrew.n.sutton at gmail dot com --- Comment #2 from Andrew Sutton <andrew.n.sutton at gmail dot com> --- It looks like the deduction isn't failing appropriately. The compiler things the declaration of r has type "ref_view<<declaration error>>", which is apparently causing infinite recursion in a call to reshape_init_class.