http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58147

            Bug ID: 58147
           Summary: Template template parameter
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: potswa at mac dot com

Although the usage is a bit dubious, name lookup of the identifier after a
nested-name-specifier should not find a template parameter name. But it does,
seemingly only for a template template parameter.

template< typename > struct b {};
template< template< typename > class b > struct d
    : b< int >
    { using d::b< int >::b; };
template struct d< b >;

Reply via email to