https://gcc.gnu.org/bugzilla/show_bug.cgi?id=116317
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #58894|0 |1 is obsolete| | --- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Created attachment 58895 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58895&action=edit Reduced even further Removes the last concept which is no longer needed since first is now in the reverse_adaptor class. The important part is `element_t<decltype(self)>` trailing return type. If I change it to being `element_t<T>`, there is no ICE. Note I changed first to be an explict template to make easier to show that rather than taking an auto argument.