https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64816
Richard Smith <richard-gccbugzilla at metafoo dot co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |richard-gccbugzilla@metafoo | |.co.uk --- Comment #5 from Richard Smith <richard-gccbugzilla at metafoo dot co.uk> --- Possibly a duplicate of bug#59930? (It looks like class-scope friend class template declarations sometimes inject the class template into the wrong namespace, specifically if the template containing the friend is instantiated before the befriended template is declared.)