From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29343 invoked by alias); 28 Jan 2008 23:41:20 -0000 Received: (qmail 29159 invoked by uid 48); 28 Jan 2008 23:40:34 -0000 Date: Tue, 29 Jan 2008 00:11:00 -0000 Message-ID: <20080128234034.29158.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/34219] gcc doesn't accept const members of variadic templates as const (regression) In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "dgregor at gcc dot gnu 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-01/txt/msg03477.txt.bz2 ------- Comment #4 from dgregor at gcc dot gnu dot org 2008-01-28 23:40 ------- There are some problems with the example code. For example, the expression max does not expand the parameter pack "Params". The compiler should have warned you about this, both in this case and in the static_assert case. -- dgregor at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|rejects-valid |error-recovery, ice-on- | |invalid-code Summary|gcc doesn't accept const |gcc doesn't accept const |members of variadic |members of variadic |templates as const |templates as const | |(regression) http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34219