This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/60471] New: template aliasing doesn't compile (using aa = bb)
- From: "marmoo1024 at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 09 Mar 2014 09:18:47 +0000
- Subject: [Bug c++/60471] New: template aliasing doesn't compile (using aa = bb)
- Auto-submitted: auto-generated
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