https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116631
Sofian Touhami <ping at zero dot ms> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED --- Comment #5 from Sofian Touhami <ping at zero dot ms> --- Either align on clang behavior (which authorizes the construct) by removing the error, making it closer to __auto_type too, or maybe explain what is the point of such restraint. Anyway this is not a bug anymore, it's an official "feature" even though it lacks an explanation and purpose. An arbitrary decision taken at some point that nobody knows the why (and contradict its initial goal of being a direct __auto_type standardization). So I gotta mark it as resolved. Thank you guys for the answers.