From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24174 invoked by alias); 5 Mar 2008 21:35:13 -0000 Received: (qmail 23894 invoked by uid 48); 5 Mar 2008 21:34:30 -0000 Date: Wed, 05 Mar 2008 21:35:00 -0000 Subject: [Bug c++/35477] New: Compiling error with template subclass of a variadic template class X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "rodolfo at rodsoft dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-03/txt/msg00347.txt.bz2 The following code fails to compile on gcc-4.3.0-RC2 with -std=c++0x template struct tuple {}; template struct test {}; template struct test> { template struct inside {}; }; g++ exits saying: error: parameter pack ‘ARGS’ must be at the end of the template parameter list on line 5 (where struct inside is defined) By removing the struct inside definition, it compiles fine. -- Summary: Compiling error with template subclass of a variadic template class Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rodolfo at rodsoft dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35477