This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/51180] New: [C++0x][C++11] inner class alias-definition variadic template error
- From: "trashyankes at wp dot pl" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 16 Nov 2011 19:37:13 +0000
- Subject: [Bug c++/51180] New: [C++0x][C++11] inner class alias-definition variadic template error
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51180
Bug #: 51180
Summary: [C++0x][C++11] inner class alias-definition variadic
template error
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: trashyankes@wp.pl
gcc version 4.7.0 20111108 (experimental) (niXman build)
code:
---------------------------
---------------------------
template<class, class>
struct t2 //error: provided for 'template<class, class> struct t2'
{
};
template<template<class...> class M>
struct m
{
template<class... B>
using inner = M<B...>; //error: wrong number of template arguments (1, should
be 2)
};
m<t2> sta2;
---------------------------
---------------------------