https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57997
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |enhancement --- Comment #8 from Jonathan Wakely <redi at gcc dot gnu.org> --- I'm pretty sure our implementation conforms to the standard, expression templates don't mix well with auto/decltype, but libc++ does seem to make code like this work somehow so it is a reasonable enhancement request.