220 11085 <a81737d9-abec-4293-a6de-145ce9a9124e@isocpp.org> article
Path: news.gmane.org!not-for-mail
From: mitchnull@gmail.com
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Core Issue: deleted templates
Date: Thu, 5 Jun 2014 04:37:07 -0700 (PDT)
Lines: 115
Approved: news@gmane.org
Message-ID: <a81737d9-abec-4293-a6de-145ce9a9124e@isocpp.org>
References: <a95232ae-71bc-41cc-ad52-511fa4aab43a@isocpp.org>
 <9f5782b9-8ba4-4be6-a874-326df936ff24@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; 
	boundary="----=_Part_160_550821.1401968227538"
X-Trace: ger.gmane.org 1401968235 8666 80.91.229.3 (5 Jun 2014 11:37:15 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Thu, 5 Jun 2014 11:37:15 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBC36XNFZ4YKBBZFMYGOAKGQES57J3FY@isocpp.org Thu Jun 05 13:37:10 2014
Return-path: <std-proposals+bncBC36XNFZ4YKBBZFMYGOAKGQES57J3FY@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-oa0-f71.google.com ([209.85.219.71])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBC36XNFZ4YKBBZFMYGOAKGQES57J3FY@isocpp.org>)
	id 1WsVyo-0002GG-AE
	for gclcip-std-proposals@m.gmane.org; Thu, 05 Jun 2014 13:37:10 +0200
Original-Received: by mail-oa0-f71.google.com with SMTP id m1sf4293846oag.2
        for <gclcip-std-proposals@m.gmane.org>; Thu, 05 Jun 2014 04:37:09 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=date:from:to:message-id:in-reply-to:references:subject:mime-version
         :x-original-sender:reply-to:precedence:mailing-list:list-id
         :list-post:list-help:list-archive:list-subscribe:list-unsubscribe
         :content-type;
        bh=k3SqMbWdVlILlCY2Ge979WuBzs+XhEZzLeX/1oalyn0=;
        b=VxMcUnjsyKEvuhQhS6diRuemm7zsuAD82ntVaBci2SR2YmNBQ8kUvx6+QR49iBTjIE
         ELhCIfLwe16sJhsh3zWXcDZIuZKTJx3hYKxTk+lIKUyvdjMq6I54T0aZ2iiy5sU4usK8
         MDt/Y7dlsI0ZY+HPmIJTG6s6NP8/JbQmX17VZfvgX00V/L55OnHgfxpXnJ1bQjroYAva
         6wDmuAZ1qEjqyzo03c2SklaQUcQQwYzS3g09pT2TTyH41bURpWf1FyhWNOkenjJ0e1Ps
         5S1MXjP1M1fKggvLuMV9TO3sroa9fn0o7keFNX1SJrhun0dtyH7sACBkPfR/bfb0fxDx
         FmmA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:date:from:to:message-id:in-reply-to:references
         :subject:mime-version:x-original-sender:reply-to:precedence
         :mailing-list:list-id:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe:content-type;
        bh=k3SqMbWdVlILlCY2Ge979WuBzs+XhEZzLeX/1oalyn0=;
        b=OJiXIIN59gyvqgEd/Xw/5QSPPyiNsFRTLX+wS87AmppmMxiSzf8tYO8k2Ro7wcWjJ6
         lQowLKNnfxnL/ImsheeP+CP1fWqz4ldJYLalymTDS/3mTZUEsPxXe8NhFFOhDIBFhFOm
         eNtXGOsiSrEkBvneStwMJDWNEb0h7XuWlJMiYw1th0KYjpAmkZq89l0HtZYdpJ79mpbl
         LqECk0/+MBJYsjMcWiHlPZtK+FuojPxWpsq8dnZGzc+Ac466LC4jyMnTynHHTEdh52dj
         mRyD/5vHeFclJha3cUSFUnwjBlu5VrnRym0wXMeDZlZ+/0DZ9+rifWo2ptdesKDs05G3
         RedQ==
X-Gm-Message-State: ALoCoQn33Z23jRMe5cTAYcLnL/iakkn+IxapzwEmiJvdpcmI2r7Fn+3D8kvfZpOXgRiuijkA4evT
X-Received: by 10.50.225.4 with SMTP id rg4mr5474867igc.1.1401968229413;
        Thu, 05 Jun 2014 04:37:09 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.140.100.179 with SMTP id s48ls86108qge.17.gmail; Thu, 05 Jun
 2014 04:37:08 -0700 (PDT)
X-Received: by 10.140.37.148 with SMTP id r20mr1046710qgr.0.1401968228816;
        Thu, 05 Jun 2014 04:37:08 -0700 (PDT)
In-Reply-To: <9f5782b9-8ba4-4be6-a874-326df936ff24@isocpp.org>
X-Original-Sender: mitchnull@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:11085
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/11085>

------=_Part_160_550821.1401968227538
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

When you list the current ways to achieve class deletion, in the=20
static_assert example you state:


   1. code to indicate a class is not to be substantiated should be part of=
=20
   the
   2.                 header, not the body of the definition.
  =20

yet later you say that=20

class A =3D delete;=20
class A =3D delete;

would be ODR violation, so practically you still can't delete the class in=
=20
the header.  I think this restriction should be lifted, so that multiple=20
"definitions" of deleted classes would be possible (but still disallow a=20
normal definition of a deleted class).

regards,
mitch

On Thursday, June 5, 2014 12:36:28 PM UTC+2, Douglas Boffey wrote:
>
> Thank you for your suggestions.
> =20
> I am having problems uploading=E2=80=94probably due to an old browser.  T=
he=20
> document can be found at http://pastebin.com/6XnitFQM
> =20
> I have not addressed everything mentioned due to time constraints, but I=
=20
> fully intend to.
>

--=20

---=20
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 e=
mail 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-proposa=
ls/.

------=_Part_160_550821.1401968227538
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">When you list the current ways to achieve class deletion, =
in the static_assert example you state:<div><br></div><div><ol style=3D"mar=
gin: 0px; padding: 0px 0px 0px 48px; color: rgb(172, 172, 172); font-family=
: Consolas, Menlo, Monaco, 'Lucida Console', 'Liberation Mono', 'DejaVu San=
s Mono', 'Bitstream Vera Sans Mono', monospace, serif; font-size: 12px; lin=
e-height: 21px; background-color: rgb(248, 248, 248);"><li class=3D"li1" st=
yle=3D"-webkit-user-select: none;"><div class=3D"de1" style=3D"-webkit-user=
-select: text; padding-right: 5px; padding-left: 5px; vertical-align: top; =
color: rgb(0, 0, 0); border-left-width: 1px; border-left-style: solid; bord=
er-left-color: rgb(204, 204, 204); margin-left: -7px; position: relative; l=
ine-height: 21px; background: rgb(255, 255, 255);">code to indicate a class=
 is not to be substantiated should be part of the</div></li><li class=3D"li=
2" style=3D"-webkit-user-select: none;"><div class=3D"de2" style=3D"-webkit=
-user-select: text; padding-right: 5px; padding-left: 5px; vertical-align: =
top; color: rgb(0, 0, 0); border-left-width: 1px; border-left-style: solid;=
 border-left-color: rgb(204, 204, 204); margin-left: -7px; position: relati=
ve; line-height: 21px; background: rgb(255, 255, 255);">&nbsp; &nbsp; &nbsp=
; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; header, not the body of the definition=
..</div></li></ol><div><br></div>yet later you say that&nbsp;</div><div><br>=
</div><div>class A =3D delete;&nbsp;</div><div>class A =3D delete;</div><di=
v><br></div><div>would be ODR violation, so practically you still can't del=
ete the class in the header. &nbsp;I think this restriction should be lifte=
d, so that multiple "definitions" of deleted classes would be possible (but=
 still disallow a normal definition of a deleted class).</div><div><br></di=
v><div>regards,</div><div>mitch</div><div><br>On Thursday, June 5, 2014 12:=
36:28 PM UTC+2, Douglas Boffey wrote:<blockquote class=3D"gmail_quote" styl=
e=3D"margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left:=
 1ex;"><div dir=3D"ltr"><div>Thank you for your suggestions.</div>
<div>&nbsp;</div>
<div>I am having problems uploading=E2=80=94probably due to an old browser.=
&nbsp; The document can be found at <a href=3D"http://pastebin.com/6XnitFQM=
" target=3D"_blank" onmousedown=3D"this.href=3D'http://www.google.com/url?q=
\75http%3A%2F%2Fpastebin.com%2F6XnitFQM\46sa\75D\46sntz\0751\46usg\75AFQjCN=
G3-VRcg6JOhjTqfGbeUdRzF19ijQ';return true;" onclick=3D"this.href=3D'http://=
www.google.com/url?q\75http%3A%2F%2Fpastebin.com%2F6XnitFQM\46sa\75D\46sntz=
\0751\46usg\75AFQjCNG3-VRcg6JOhjTqfGbeUdRzF19ijQ';return true;">http://past=
ebin.com/6XnitFQM</a></div>
<div>&nbsp;</div>
<div>I have not addressed everything mentioned due to time constraints, but=
 I fully intend to.</div></div></blockquote></div></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 />

------=_Part_160_550821.1401968227538--

.
