From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7225 invoked by alias); 15 Jan 2015 00:38:19 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 7210 invoked by uid 89); 15 Jan 2015 00:38:17 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.7 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Thu, 15 Jan 2015 00:38:16 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t0F0cE0j007622 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 14 Jan 2015 19:38:15 -0500 Received: from [10.10.116.16] ([10.10.116.16]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t0F0cEdQ000360; Wed, 14 Jan 2015 19:38:14 -0500 Message-ID: <54B70BF2.5080308@redhat.com> Date: Thu, 15 Jan 2015 01:19:00 -0000 From: Jason Merrill User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Patrick Palka CC: GCC Patches Subject: Re: [PATCH] Fix PR c++/16160 References: <1421207682-14372-1-git-send-email-patrick@parcs.ath.cx> <1421252931-32684-1-git-send-email-patrick@parcs.ath.cx> <54B6DF8E.5090905@redhat.com> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2015-01/txt/msg01137.txt.bz2 On 01/14/2015 05:04 PM, Patrick Palka wrote: > Did this define a specialization too: > > struct X<5> { }; Yes. There's an example in the ARM that says A class can be defined as the definition of a template class. For example, template class stream { /* ... */ }; class stream { /* ... */ }; Here, the class declaration will be used as the definition of streams of characters (stream). Other streams will be handled by template functions generated from the class template. Jason