220 10743 <CAFk2RUaVB1_c4fbJaej-oe1F-+6D9j8Nr6xRwVHTCTbw0JQTAg@mail.gmail.com> article
Path: news.gmane.org!not-for-mail
From: Ville Voutilainen <ville.voutilainen@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Core Issue: deleted templates
Date: Thu, 22 May 2014 13:12:29 +0300
Lines: 26
Approved: news@gmane.org
Message-ID: <CAFk2RUaVB1_c4fbJaej-oe1F-+6D9j8Nr6xRwVHTCTbw0JQTAg@mail.gmail.com>
References: <a95232ae-71bc-41cc-ad52-511fa4aab43a@isocpp.org>
	<CAFk2RUZxRsdXh0cdGdbdV3GicVzDaES=82qq2zcMXFQ6-CHR9Q@mail.gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
X-Trace: ger.gmane.org 1400753558 27723 80.91.229.3 (22 May 2014 10:12:38 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Thu, 22 May 2014 10:12:38 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBC5JHI7A7ALRBDU366NQKGQE5CA7HFY@isocpp.org Thu May 22 12:12:32 2014
Return-path: <std-proposals+bncBC5JHI7A7ALRBDU366NQKGQE5CA7HFY@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-ob0-f197.google.com ([209.85.214.197])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBC5JHI7A7ALRBDU366NQKGQE5CA7HFY@isocpp.org>)
	id 1WnPzD-00010U-NK
	for gclcip-std-proposals@m.gmane.org; Thu, 22 May 2014 12:12:31 +0200
Original-Received: by mail-ob0-f197.google.com with SMTP id vb8sf14302267obc.4
        for <gclcip-std-proposals@m.gmane.org>; Thu, 22 May 2014 03:12:30 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:mime-version:in-reply-to:references:date
         :message-id:subject:from:to:x-original-sender
         :x-original-authentication-results:reply-to:precedence:mailing-list
         :list-id:list-post:list-help:list-archive:list-subscribe
         :list-unsubscribe:content-type;
        bh=TcSB1x8nisJJEOW1RHNv8ypXXkcWRTb9bZp8W7YqDmo=;
        b=AkVW3wypE8FGh1URpDqxNlmv9slq0GmnXmdSqOGaHJp5SM+B2gqQ1gFIGFu6+qCH4Q
         CXMCbZoPsDAdQ55J8eKe1iS96rTtHWmajucjOIRwIpgbCbycMlLK5NAHJ9FweD7RU961
         vjQCGmJOXpvf2Dtp8nLrsVdZvUHIk30hgioxBGYp6Ssj80cC/5/o2uSml3CAj/u4LU5a
         J1eLXsjN4YL0g4fFIBOKNIUs+if1yzSD9yHE9ac87h8s6VWipc+WBKH1mu/05bUYy0LY
         Y9wXDNC7QxZKgWIij8WBfTccDC8CI47NWk8G7yVJgkmBPDX/tEzRNYQeb48jHNxfwuFC
         me+w==
X-Gm-Message-State: ALoCoQkQ8EUR0ef8UeSs+Ud8nL1Aku1siGfSlzwOgCShlCnYkdA+hJnoOb0GVvHJjhWycd7OPdXB
X-Received: by 10.42.107.201 with SMTP id e9mr22996783icp.13.1400753550813;
        Thu, 22 May 2014 03:12:30 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.140.96.201 with SMTP id k67ls1187976qge.22.gmail; Thu, 22 May
 2014 03:12:30 -0700 (PDT)
X-Received: by 10.224.112.74 with SMTP id v10mr76457770qap.28.1400753550080;
        Thu, 22 May 2014 03:12:30 -0700 (PDT)
Original-Received: from mail-qc0-x231.google.com (mail-qc0-x231.google.com [2607:f8b0:400d:c01::231])
        by mx.google.com with ESMTPS id h6si8804077qcm.9.2014.05.22.03.12.30
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Thu, 22 May 2014 03:12:30 -0700 (PDT)
Received-SPF: pass (google.com: domain of ville.voutilainen@gmail.com designates 2607:f8b0:400d:c01::231 as permitted sender) client-ip=2607:f8b0:400d:c01::231;
Original-Received: by mail-qc0-f177.google.com with SMTP id i17so5227367qcy.22
        for <std-proposals@isocpp.org>; Thu, 22 May 2014 03:12:30 -0700 (PDT)
X-Received: by 10.224.16.199 with SMTP id p7mr77934659qaa.76.1400753550001;
 Thu, 22 May 2014 03:12:30 -0700 (PDT)
Original-Received: by 10.224.181.5 with HTTP; Thu, 22 May 2014 03:12:29 -0700 (PDT)
In-Reply-To: <CAFk2RUZxRsdXh0cdGdbdV3GicVzDaES=82qq2zcMXFQ6-CHR9Q@mail.gmail.com>
X-Original-Sender: ville.voutilainen@gmail.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of ville.voutilainen@gmail.com designates 2607:f8b0:400d:c01::231 as
 permitted sender) smtp.mail=ville.voutilainen@gmail.com;       dkim=pass
 header.i=@gmail.com;       dmarc=pass (p=NONE dis=NONE) header.from=gmail.com
Precedence: list
Mailing-list: list std-proposals@isocpp.org; contact std-proposals+owners@isocpp.org
List-ID: <std-proposals.isocpp.org>
X-Google-Group-Id: 399137483710
List-Post: <http://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <http://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <http://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:std-proposals+subscribe@isocpp.org>
List-Unsubscribe: <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:10743
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/10743>

On 22 May 2014 13:11, Ville Voutilainen <ville.voutilainen@gmail.com> wrote:
> On 22 May 2014 12:46, Douglas Boffey <douglas.boffey@gmail.com> wrote:
>> Would it not be better if we could explicitly delete the general template,
>> thus:
>>
>> template <typename T>
>> class Foo = delete;
>>
>> template <>
>> class Foo<Bar> { /* ... */ };
>
> Yes? You can do that.


Argh, sorry, I didn't notice that you meant deleting classes or class
templates, not
functions, I read that way too hastily.

-- 

--- 
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposals/.

.
