From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4785 invoked by alias); 24 Nov 2004 19:11:13 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 4776 invoked by uid 48); 24 Nov 2004 19:11:10 -0000 Date: Wed, 24 Nov 2004 19:11:00 -0000 Message-ID: <20041124191110.4775.qmail@sourceware.org> From: "pinskia at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20041105041308.18306.ramya.chandar@wipro.com> References: <20041105041308.18306.ramya.chandar@wipro.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/18306] seems not possible to specialize a template member function X-Bugzilla-Reason: CC X-SW-Source: 2004-11/txt/msg02918.txt.bz2 List-Id: ------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-24 19:11 ------- Invalid, as what you are doing is called explicit specializtion and when this happens you instantiate the template and now you are violating the one defintional rule (which is 14.7/5 in the C++ standard). Note that if you use 3.4.0, it works with adding template<>. -- What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18306