https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90335
--- Comment #2 from Boris RĂºra <boris.rura at gmail dot com> --- Created attachment 46281 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46281&action=edit More minimal example. Removing the templates from aliases makes the code compile.