[Bug c++/68170] Declaring friend template class template in C++1z produces error: specialization of ‘template class A’ must appear at namespace

2015-11-03 Thread mohammad.nabil.h at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68170 --- Comment #1 from Mohammad Alaggan --- In gcc-6-20151101, the attached example compiles correctly. However, the same problem manifests in this example: // { dg-do compile } // { dg-options "-std=c++1z" } template concept bool C() { return __

[Bug c++/68170] New: Declaring friend template class template in C++1z produces error: specialization of ‘template class A’ must appear at namespace

2015-10-31 Thread mohammad.nabil.h at gmail dot com
Version: 6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: mohammad.nabil.h at gmail dot com Target Milestone: --- Created attachment 36627 --> ht