220 29819 <CAEddoJZxM5qe9qVfags_iNrd0YpvUo2xmSw-OqifnHJ+4wJtxA@mail.gmail.com> article
Path: news.gmane.org!.POSTED!not-for-mail
From: =?UTF-8?Q?Jonathan_M=C3=BCller?= <jonathanmueller.dev@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: New smart pointer: CopyConstructible and
 CopyAssignable flavor of unique_ptr
Date: Fri, 16 Dec 2016 12:44:38 +0100
Lines: 43
Approved: news@gmane.org
Message-ID: <CAEddoJZxM5qe9qVfags_iNrd0YpvUo2xmSw-OqifnHJ+4wJtxA@mail.gmail.com>
References: <13702f32-32c2-447f-9996-3624fd678675@isocpp.org> <CAFk2RUY3c67YgivjPTSCB+FLUGfiFgi8F_8kcSSUwPeBp9tMmw@mail.gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary=001a11377e185632a80543c518bc
X-Trace: blaine.gmane.org 1481888680 13873 195.159.176.226 (16 Dec 2016 11:44:40 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Fri, 16 Dec 2016 11:44:40 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCUMHC4Z6QGBBJ5HZ7BAKGQE2BNJUGQ@isocpp.org Fri Dec 16 12:44:36 2016
Return-path: <std-proposals+bncBCUMHC4Z6QGBBJ5HZ7BAKGQE2BNJUGQ@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-pg0-f71.google.com ([74.125.83.71])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBCUMHC4Z6QGBBJ5HZ7BAKGQE2BNJUGQ@isocpp.org>)
	id 1cHqwG-0003A3-6c
	for gclcip-std-proposals@m.gmane.org; Fri, 16 Dec 2016 12:44:36 +0100
Original-Received: by mail-pg0-f71.google.com with SMTP id e9sf178989921pgc.5
        for <gclcip-std-proposals@m.gmane.org>; Fri, 16 Dec 2016 03:44:41 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=mime-version:in-reply-to:references:from:date:message-id:subject:to
         :x-original-sender:x-original-authentication-results:reply-to
         :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post
         :list-help:list-archive:list-subscribe:list-unsubscribe;
        bh=IXY8KF9wly5IfpjdjUOloeQnwaTzpHTXdrp+7h05/so=;
        b=FAFQtV8tozUBGVjgO5ZFwASDC8ZIKkEhHWpbJKgaTweSnG8GD/L+rZYmzRZ4YPcIxt
         JHgQHZQiShj5AhiHGgGVT/d5NROZkaYjRATarO400G+5gptKOdEXPdmTBa09VeLawkMG
         ibLwmXW0y1PJ+hWZWqFpmCrxpYzKKiG+iS+zGxFDTud3wBizxdpzMJu3U3hAVdtLCU6y
         po9RpXWRSjGTTnguKOuaueyhoT5L2UHlOyX8YbHkpgl9/afX1d1jlM6NBhMPjSd6dUpt
         4gHEiiM4Srl7eWGZpsaV9fYYlsUe0iy8xq37W+WJk9Ah+Ze8o/g5EsofwaSvJU0FsISD
         f+6w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:mime-version:in-reply-to:references:from:date
         :message-id:subject:to:x-original-sender
         :x-original-authentication-results:reply-to:precedence:mailing-list
         :list-id:x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=IXY8KF9wly5IfpjdjUOloeQnwaTzpHTXdrp+7h05/so=;
        b=OfKYpE7uKUPsjO9aECwl1BzEFj/odlMkwcx2W8tiIijNEX+Q+q23STQ+pBf8EvuCgk
         A4ScKOKqAfsXfnjlYUcAcYl4CTuzTKPDZw4hG0V5RZWIC50qdeLI8VhxeojdFRBnVVG2
         3tfMCre22cwkT1eYZLikgt8RV2Mol3g9AYMuGN3kYCBJT9GXtEQgAwpoa0ZdP05rmsy6
         XUxA69cedKX5099J8Cbme56EYqIS2gsyegfLEFrm2ehYFa9NP1mWdgxXtIRQw6+1cczr
         dUH3S6k2p/IEUgwBHvQan/YHFPrH84AdMsPK4sroGyPokg8uZGksZ6l7BegMHc7THQtK
         PtHg==
X-Gm-Message-State: AKaTC01l4eA1R/5RySOcoJkoPRXpbMRFDB+JHnVBux6XRqlchlj7A/VtNk52tuHD+qK4EA==
X-Received: by 10.99.113.75 with SMTP id b11mr1234552pgn.162.1481888680428;
        Fri, 16 Dec 2016 03:44:40 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.157.29.137 with SMTP id y9ls7779271otd.39.gmail; Fri, 16 Dec
 2016 03:44:39 -0800 (PST)
X-Received: by 10.55.102.138 with SMTP id a132mr2050534qkc.57.1481888679759;
        Fri, 16 Dec 2016 03:44:39 -0800 (PST)
Original-Received: from mail-qt0-x234.google.com (mail-qt0-x234.google.com. [2607:f8b0:400d:c0d::234])
        by mx.google.com with ESMTPS id k10si2964299qtb.97.2016.12.16.03.44.39
        for <std-proposals@isocpp.org>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Fri, 16 Dec 2016 03:44:39 -0800 (PST)
Received-SPF: pass (google.com: domain of jonathanmueller.dev@gmail.com designates 2607:f8b0:400d:c0d::234 as permitted sender) client-ip=2607:f8b0:400d:c0d::234;
Original-Received: by mail-qt0-x234.google.com with SMTP id w33so84236055qtc.3
        for <std-proposals@isocpp.org>; Fri, 16 Dec 2016 03:44:39 -0800 (PST)
X-Received: by 10.237.34.46 with SMTP id n43mr2363020qtc.105.1481888679471;
 Fri, 16 Dec 2016 03:44:39 -0800 (PST)
Original-Received: by 10.55.74.202 with HTTP; Fri, 16 Dec 2016 03:44:38 -0800 (PST)
Original-Received: by 10.55.74.202 with HTTP; Fri, 16 Dec 2016 03:44:38 -0800 (PST)
In-Reply-To: <CAFk2RUY3c67YgivjPTSCB+FLUGfiFgi8F_8kcSSUwPeBp9tMmw@mail.gmail.com>
X-Original-Sender: jonathanmueller.dev@gmail.com
X-Original-Authentication-Results: mx.google.com;       dkim=pass
 header.i=@gmail.com;       spf=pass (google.com: domain of
 jonathanmueller.dev@gmail.com designates 2607:f8b0:400d:c0d::234 as permitted
 sender) smtp.mailfrom=jonathanmueller.dev@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: <https://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <https://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <https://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <https://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>,
 <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:29819
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/29819>

--001a11377e185632a80543c518bc
Content-Type: text/plain; charset=UTF-8

So it transfers ownership when moving and does a deep copy when copying?

I don't think two so different semantics are a great idea.

Jonathan

-- 
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.
To view this discussion on the web visit https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/CAEddoJZxM5qe9qVfags_iNrd0YpvUo2xmSw-OqifnHJ%2B4wJtxA%40mail.gmail.com.

--001a11377e185632a80543c518bc
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<p dir=3D"ltr">So it transfers ownership when moving and does a deep copy w=
hen copying?</p>
<p dir=3D"ltr">I don&#39;t think two so different semantics are a great ide=
a.</p>
<p dir=3D"ltr">Jonathan</p>

<p></p>

-- <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 />
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/a/isocpp.org/d/msgid/std-proposals/CAEddoJZxM5qe9qVfags_iNrd0YpvUo2xmSw-=
OqifnHJ%2B4wJtxA%40mail.gmail.com?utm_medium=3Demail&utm_source=3Dfooter">h=
ttps://groups.google.com/a/isocpp.org/d/msgid/std-proposals/CAEddoJZxM5qe9q=
Vfags_iNrd0YpvUo2xmSw-OqifnHJ%2B4wJtxA%40mail.gmail.com</a>.<br />

--001a11377e185632a80543c518bc--

.
