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

            Bug ID: 60471
           Summary: template aliasing doesn't compile (using aa = bb)
           Product: gcc
           Version: 4.6.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marmoo1024 at gmail dot com

Created attachment 32313
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32313&action=edit
output of "g++ b.cpp -o b -std=c++0x  -v"

template <class T> class base { public: T value;};
template <class T> using alias = base<T>;
int main () {}

compiles with clang++, but not with "g++ -std=c++0x"

my gcc is the standard on Ubuntu 12.04.4 LTS

Reply via email to