http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54376
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jason at gcc dot gnu.org
--- Comment #15 from Jason Merrill <jason at gcc dot gnu.org> 2012-08-27
18:13:46 UTC ---
Indeed, the code is in error. You can't have multiple instantiations of a
class template that define the same friend signature, as the definition might
depend on the class template parameters.