220 17568 <bf171353-43b7-4524-87af-fa995f763b5a@isocpp.org> article
Path: news.gmane.org!not-for-mail
From: lie4pan1 <lie4pan1@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Thoughts/idea about N4401 vs N4475 (regarding raw
 ptrs and mutables)
Date: Wed, 29 Apr 2015 02:56:20 -0700 (PDT)
Lines: 61
Approved: news@gmane.org
Message-ID: <bf171353-43b7-4524-87af-fa995f763b5a@isocpp.org>
References: <5c67669c-7812-43a5-a8fd-21dcc6f8894a@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_164_664508031.1430301380612"
X-Trace: ger.gmane.org 1430301391 5441 80.91.229.3 (29 Apr 2015 09:56:31 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Wed, 29 Apr 2015 09:56:31 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCEP3ZH7SICRBROVQKVAKGQEQY3YVBI@isocpp.org Wed Apr 29 11:56:30 2015
Return-path: <std-proposals+bncBCEP3ZH7SICRBROVQKVAKGQEQY3YVBI@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-ie0-f198.google.com ([209.85.223.198])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCEP3ZH7SICRBROVQKVAKGQEQY3YVBI@isocpp.org>)
	id 1YnOjE-0002sP-1h
	for gclcip-std-proposals@m.gmane.org; Wed, 29 Apr 2015 11:56:28 +0200
Original-Received: by iepn2 with SMTP id n2sf69969946iep.2
        for <gclcip-std-proposals@m.gmane.org>; Wed, 29 Apr 2015 02:56:22 -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
         :content-type:x-original-sender:reply-to:precedence:mailing-list
         :list-id:list-post:list-help:list-archive:list-subscribe
         :list-unsubscribe;
        bh=3e64rC+W3dJ8oiKpQ4MddAwnq7ZbGM0EgRXfa2gEWAw=;
        b=uWkm17J//c9Tal204YSwkNP7A75xsL3TU8ALRd3Gncavt1G9ASz8E1yH6L/aqaulCU
         m4c15A/4wffBRLitL73YffJauozK+Zdl9k3nZq/DSafKsgfrN3cBGPCi/n1HVDtR4Ou6
         uzoZSMwSkGeJ8ZnVtKLhgtenptSuF1g4+xh6IR5iMVhaT4ozxq44cYDFgrrkbWrkL7I5
         cIlBa89nshwAypBzjsHur9jvibj/XGcmDUvJOQQKr2IC8Ta2HeFHVFtvklKBtlGFsEg8
         ZW5PN3EURY6ApwqEos71wHIyfWc06KaN8fJKlFx6sg/8wLpdQUFdSo9R/osdf65S+nlM
         ThDA==
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:content-type:x-original-sender:reply-to
         :precedence:mailing-list:list-id:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=3e64rC+W3dJ8oiKpQ4MddAwnq7ZbGM0EgRXfa2gEWAw=;
        b=IeeuXTqWNFkIZt7YqS0b97Q8QiMkKqct07Gsft3fLHZ/yixcw5DDMqDVxejOays/21
         1xRPnnVuczZlrRJ3XtQBDz9KNkSJD5FUr8TUZgZvSalSdPDJJhHheTWXLk/uf7jVguGy
         OMgMZzKCjvZqHntyyWBR1bbBIcPYMC0ygsX+BMh70ZTdQuAzza8td7yUrP4APDnpz5qu
         5GPMEYShdRojTUSnpZyHlv131MYs69e+rfZr4K9FeMjGVqkjLH21MaiTb0w/VUQW6dax
         ZIDx3XWqQqRFV3v+CukgrMiwc5N1IEwbOv9UzWBFSHO7L5rOq5/P12dat2DHRHMTeLNB
         f4fw==
X-Gm-Message-State: ALoCoQkToYTiZgb4AnwSFBN946ksbmmMxiVOL8WmRFIYUtMVxLbFPEgbube8kiYZ0IpZlKvC4nNT
X-Received: by 10.43.65.1 with SMTP id xk1mr3000099icb.32.1430301382085;
        Wed, 29 Apr 2015 02:56:22 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.140.92.54 with SMTP id a51ls679612qge.83.gmail; Wed, 29 Apr
 2015 02:56:21 -0700 (PDT)
X-Received: by 10.140.31.196 with SMTP id f62mr269365qgf.30.1430301381387;
        Wed, 29 Apr 2015 02:56:21 -0700 (PDT)
In-Reply-To: <5c67669c-7812-43a5-a8fd-21dcc6f8894a@isocpp.org>
X-Original-Sender: lie4pan1@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: <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>,
 <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:17568
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/17568>

------=_Part_164_664508031.1430301380612
Content-Type: multipart/alternative; 
	boundary="----=_Part_165_1471512617.1430301380613"

------=_Part_165_1471512617.1430301380613
Content-Type: text/plain; charset=UTF-8

After some thoughts I think any '__cookie__' non-mutable members should 
suppress generating such said defaulted operators, so this mechanism can be 
used to help with some non-pointer primitive handle types that also require 
extra work in said operations. The rules can now be simper:

non-'__cookie__': included and used in said defaulted operators
'__cookie__' non-mutable: suppressing said defaulted operators (or even 
suppressing defaulted ctor and/or dtor as well???)
'__cookie__' mutable: excluded and ignored in said defaulted operators

What do yo think?

-- 

--- 
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/.

------=_Part_165_1471512617.1430301380613
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">After some thoughts I think any '__cookie__' non-mutable m=
embers should suppress generating such said defaulted operators, so this me=
chanism can be used to help with some non-pointer primitive handle types th=
at also require extra work in said operations. The rules can now be simper:=
<br><br><div dir=3D"ltr"><span style=3D"font-family:courier new,monospace">=
non-'__cookie__': included and used in said defaulted operators<br>'__cooki=
e__' non-mutable: suppressing said defaulted operators (or even suppressing=
 defaulted ctor and/or dtor as well???)<br>'__cookie__' mutable: excluded a=
nd ignored in said defaulted operators<br></span><br>What do yo think?<br><=
br></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_165_1471512617.1430301380613--
------=_Part_164_664508031.1430301380612--

.
