[Bug c++/68089] c++ friend with template

2015-11-04 Thread dushistov at mail dot ru
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68089 Evgeniy Dushistov changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/68089] c++ friend with template

2015-10-30 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68089 --- Comment #1 from Jonathan Wakely --- The error seems correct to me, the function is only a friend of its first argument, not its second. Friendship is not transitive, just because the function friends with C and C is friends with C that does n