From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3443 invoked by alias); 24 Jan 2005 14:27:17 -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 3404 invoked by uid 48); 24 Jan 2005 14:27:12 -0000 Date: Mon, 24 Jan 2005 14:27:00 -0000 Message-ID: <20050124142712.3403.qmail@sourceware.org> From: "lerdsuwa at gcc dot gnu dot org" To: gcc-bugs@gcc.gnu.org In-Reply-To: <20050121181213.19569.jamesp@trdlnk.com> References: <20050121181213.19569.jamesp@trdlnk.com> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c++/19569] no code for explicit instantiation of template class specialization X-Bugzilla-Reason: CC X-SW-Source: 2005-01/txt/msg03509.txt.bz2 List-Id: ------- Additional Comments From lerdsuwa at gcc dot gnu dot org 2005-01-24 14:27 ------- There is a defect report DR259 about this issue: http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#259 According to the DR, the original standard mentions that the instantiation: template class A; is invalid because there is already a specialization template <> class A { ... }; declared earlier. In the revised version of the standard, which includes the resolution of this DR, the instantiation is ignored. Recent GCC releases follow this behavior. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19569