re PR c++/8266 (Explicit instantiation of a template outside its namespace is broken)
From Giovanni Bajo <giovannibajo@libero.it> cp: PR c++/8266 * pt.c (check_explicit_specialization): When looking up a template function from an identifier outside class-scope, bind it to CP_DECL_CONTEXT. testsuite: PR c++/8266 * g++.dg/template/explicit-instantiation3.C: New test. From-SVN: r68527
Showing
Please
register
or
sign in
to comment