https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125042
--- Comment #5 from Sam Gardner <samuelgardner101 at gmail dot com> --- Aha - so i have an .ixx file where i'd aliased `std::shared_ptr` and `std::unique_ptr`, to `Shared` and `Unique` respectively, and out of hundreds of usages of these, in hundreds of files, there were 2 files where it didn't like using the alias, causing the ICE. For now I have just used `std::shared_ptr`/`std::unique_ptr` in those 2 .ixx files; because i have forward declarations i cant do the full type in ixx files. So strange that it only affected 2 files for me out of hundreds.. Thanks though, from your templating error I realised it was the smart pointer aliases so happy I have a temp fix now :)
