From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11497 invoked by alias); 10 Jul 2010 17:46:47 -0000 Received: (qmail 11473 invoked by uid 48); 10 Jul 2010 17:46:37 -0000 Date: Sat, 10 Jul 2010 17:46:00 -0000 Message-ID: <20100710174637.11472.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/44906] g++ is giving error: parse error in template argument list while using a c++ code. In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "pinskia 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: 2010-07/txt/msg01152.txt.bz2 ------- Comment #4 from pinskia at gcc dot gnu dot org 2010-07-10 17:46 ------- The error message is not clear. The issue is that you are not using a constant expression for a template arugment. Template arguments are either constant expressions or types. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44906