From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25145 invoked by alias); 25 Jul 2002 14:52:56 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 25125 invoked by uid 61); 25 Jul 2002 14:52:56 -0000 Date: Thu, 25 Jul 2002 07:52:00 -0000 Message-ID: <20020725145256.25124.qmail@sources.redhat.com> To: gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, jfranzoy@yahoo.com.ar, nobody@gcc.gnu.org From: lerdsuwa@gcc.gnu.org Reply-To: lerdsuwa@gcc.gnu.org, gcc-bugs@gcc.gnu.org, gcc-prs@gcc.gnu.org, jfranzoy@yahoo.com.ar, nobody@gcc.gnu.org, gcc-gnats@gcc.gnu.org Subject: Re: c++/7402: Partial Template Specialization Problem X-SW-Source: 2002-07/txt/msg00685.txt.bz2 List-Id: Synopsis: Partial Template Specialization Problem State-Changed-From-To: open->closed State-Changed-By: lerdsuwa State-Changed-When: Thu Jul 25 07:52:55 2002 State-Changed-Why: Not a bug. The compiler has to be able to deduce what T1 is before the partial specialization can be used (according to section 14.5.4.1 para 2 of the C++ Standard). But because the following typename TemplateParameterGenerator::Result is treated as a non-deduced context (14.8.2.4 p4). So T1 can never be deduced and the partial specialization is never used. http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7402