220 10747 <CAAbBDD-OVFsdAQ7OCBCdUvemY1jZTYj21nMYqy7-NP9qgC4sgA@mail.gmail.com> article
Path: news.gmane.org!not-for-mail
From: Jonathan Coe <jbcoe@me.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Core Issue: deleted templates
Date: Thu, 22 May 2014 13:03:47 +0100
Lines: 121
Approved: news@gmane.org
Message-ID: <CAAbBDD-OVFsdAQ7OCBCdUvemY1jZTYj21nMYqy7-NP9qgC4sgA@mail.gmail.com>
References: <a95232ae-71bc-41cc-ad52-511fa4aab43a@isocpp.org>
	<CAFk2RUZxRsdXh0cdGdbdV3GicVzDaES=82qq2zcMXFQ6-CHR9Q@mail.gmail.com>
	<CAFk2RUaVB1_c4fbJaej-oe1F-+6D9j8Nr6xRwVHTCTbw0JQTAg@mail.gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary=047d7b3435a2cb393804f9fbe729
X-Trace: ger.gmane.org 1400760243 10258 80.91.229.3 (22 May 2014 12:04:03 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Thu, 22 May 2014 12:04:03 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBC2JVFPBRAHBBJGP66NQKGQEWMKAGUY@isocpp.org Thu May 22 14:03:56 2014
Return-path: <std-proposals+bncBC2JVFPBRAHBBJGP66NQKGQEWMKAGUY@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-ee0-f71.google.com ([74.125.83.71])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBC2JVFPBRAHBBJGP66NQKGQEWMKAGUY@isocpp.org>)
	id 1WnRiv-0003fX-HZ
	for gclcip-std-proposals@m.gmane.org; Thu, 22 May 2014 14:03:49 +0200
Original-Received: by mail-ee0-f71.google.com with SMTP id c13sf2027267eek.10
        for <gclcip-std-proposals@m.gmane.org>; Thu, 22 May 2014 05:03:49 -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:sender: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=fVeAbYUWVVwVfXdX6fX58k+EigsLbEc1wr5cIZ2H0Qk=;
        b=GoN5hxX+iEokgHMnqqskloXNfr4eBiZqxdx7vw+l9lGVT6BxJz0bJgR+IVZ5JJX7+U
         N/fDGzEPhVDlKNlj9ZZkrV+cshosHd0hrG6RRQWJIyvF8fYG/NtES65pl3KhB/6NkXv1
         TJfzdjSiDRrON4N6oS+ftuVCs0mz+zmzQl9WuryD3cvxuBf4kkH48PbR1p0WwDvPYEE6
         Ld0YqxvhRWPQcK264+UVMsBKgDb67rPOgCsq569kNRrddLQ2MqKqSampesEtJ4qzKwhW
         vHhvfvrCSJQB92EMWWCa5GzTNdoQMUX1voLbUeI9ItdoLKzT8LVG4cDf98ltjr1/GZOx
         W/vg==
X-Gm-Message-State: ALoCoQkPrhBZg/x2cV4GgX5ag2clYYtkJrcwhpl/yr71cDfLs5BG23Mlf6XTbZ9/b4KlIxAUwlAy
X-Received: by 10.15.35.134 with SMTP id g6mr2291417eev.3.1400760229285;
        Thu, 22 May 2014 05:03:49 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.181.12.115 with SMTP id ep19ls457040wid.11.gmail; Thu, 22 May
 2014 05:03:48 -0700 (PDT)
X-Received: by 10.14.148.130 with SMTP id v2mr13411172eej.37.1400760228063;
        Thu, 22 May 2014 05:03:48 -0700 (PDT)
Original-Received: from mail-ee0-x22e.google.com (mail-ee0-x22e.google.com [2a00:1450:4013:c00::22e])
        by mx.google.com with ESMTPS id cc49si28198eeb.21.2014.05.22.05.03.48
        for <std-proposals@isocpp.org>
        (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128);
        Thu, 22 May 2014 05:03:48 -0700 (PDT)
Received-SPF: pass (google.com: domain of jonathanbcoe@gmail.com designates 2a00:1450:4013:c00::22e as permitted sender) client-ip=2a00:1450:4013:c00::22e;
Original-Received: by mail-ee0-f46.google.com with SMTP id t10so2572896eei.19
        for <std-proposals@isocpp.org>; Thu, 22 May 2014 05:03:47 -0700 (PDT)
X-Received: by 10.14.202.137 with SMTP id d9mr38878260eeo.10.1400760227803;
 Thu, 22 May 2014 05:03:47 -0700 (PDT)
Original-Sender: jonathanbcoe@gmail.com
Original-Received: by 10.14.184.70 with HTTP; Thu, 22 May 2014 05:03:47 -0700 (PDT)
In-Reply-To: <CAFk2RUaVB1_c4fbJaej-oe1F-+6D9j8Nr6xRwVHTCTbw0JQTAg@mail.gmail.com>
X-Original-Sender: jonathanbcoe@gmail.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of jonathanbcoe@gmail.com designates 2a00:1450:4013:c00::22e as
 permitted sender) smtp.mail=jonathanbcoe@gmail.com;       dkim=pass
 header.i=@gmail.com;       dmarc=fail (p=NONE dis=NONE) header.from=me.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:10747
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/10747>

--047d7b3435a2cb393804f9fbe729
Content-Type: text/plain; charset=UTF-8

I think that =delete for template classes as you suggest would be a useful
feature.

Regards,

Jonathan


On 22 May 2014 11:12, Ville Voutilainen <ville.voutilainen@gmail.com> wrote:

> 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/.
>

-- 

--- 
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/.

--047d7b3435a2cb393804f9fbe729
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">I think that =3Ddelete for template classes as you suggest=
 would be a useful feature.<div><br></div><div>Regards,</div><div><br></div=
><div>Jonathan</div></div><div class=3D"gmail_extra"><br><br><div class=3D"=
gmail_quote">
On 22 May 2014 11:12, Ville Voutilainen <span dir=3D"ltr">&lt;<a href=3D"ma=
ilto:ville.voutilainen@gmail.com" target=3D"_blank">ville.voutilainen@gmail=
..com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"ma=
rgin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class=3D"">On 22 May 2014 13:11, Ville Voutilainen &lt;<a href=3D"mail=
to:ville.voutilainen@gmail.com">ville.voutilainen@gmail.com</a>&gt; wrote:<=
br>
&gt; On 22 May 2014 12:46, Douglas Boffey &lt;<a href=3D"mailto:douglas.bof=
fey@gmail.com">douglas.boffey@gmail.com</a>&gt; wrote:<br>
&gt;&gt; Would it not be better if we could explicitly delete the general t=
emplate,<br>
&gt;&gt; thus:<br>
&gt;&gt;<br>
&gt;&gt; template &lt;typename T&gt;<br>
&gt;&gt; class Foo =3D delete;<br>
&gt;&gt;<br>
&gt;&gt; template &lt;&gt;<br>
&gt;&gt; class Foo&lt;Bar&gt; { /* ... */ };<br>
&gt;<br>
&gt; Yes? You can do that.<br>
<br>
<br>
</div>Argh, sorry, I didn&#39;t notice that you meant deleting classes or c=
lass<br>
templates, not<br>
functions, I read that way too hastily.<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
--<br>
<br>
---<br>
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals&quot; group.<br>
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:std-proposals%2Bunsubscribe@isocpp.org">std-propo=
sals+unsubscribe@isocpp.org</a>.<br>
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org">std-proposals@isocpp.org</a>.<br>
Visit this group at <a href=3D"http://groups.google.com/a/isocpp.org/group/=
std-proposals/" target=3D"_blank">http://groups.google.com/a/isocpp.org/gro=
up/std-proposals/</a>.<br>
</div></div></blockquote></div><br></div>

<p></p>

-- <br />
<br />
--- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:std-proposals+unsubscribe@isocpp.org">std-proposa=
ls+unsubscribe@isocpp.org</a>.<br />
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org">std-proposals@isocpp.org</a>.<br />
Visit this group at <a href=3D"http://groups.google.com/a/isocpp.org/group/=
std-proposals/">http://groups.google.com/a/isocpp.org/group/std-proposals/<=
/a>.<br />

--047d7b3435a2cb393804f9fbe729--

.
