220 29872 <CAFk2RUYmdj2HwRpP2HhY=xujkFP1e5LYKkg6eOGBOF_yE-3Lcg@mail.gmail.com> article
Path: news.gmane.org!.POSTED!not-for-mail
From: Ville Voutilainen <ville.voutilainen@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: New smart pointer: CopyConstructible and
 CopyAssignable flavor of unique_ptr
Date: Sat, 17 Dec 2016 17:29:34 +0200
Lines: 23
Approved: news@gmane.org
Message-ID: <CAFk2RUYmdj2HwRpP2HhY=xujkFP1e5LYKkg6eOGBOF_yE-3Lcg@mail.gmail.com>
References: <13702f32-32c2-447f-9996-3624fd678675@isocpp.org>
 <CAFk2RUY3c67YgivjPTSCB+FLUGfiFgi8F_8kcSSUwPeBp9tMmw@mail.gmail.com>
 <CAEddoJZxM5qe9qVfags_iNrd0YpvUo2xmSw-OqifnHJ+4wJtxA@mail.gmail.com>
 <e1e780b7-34ea-41bf-9aba-22a1eb6a5f3f@isocpp.org> <67a9e9ed-8748-4098-a43b-33598b516464@isocpp.org>
 <ad1bfe2f-c769-4938-9f92-8f6b396f03e6@isocpp.org> <e30ffb82-0d5f-fafd-39b4-28e60d07c948@gmail.com>
 <20161217141109.GA22645@manuel-ThinkPad-L440.localdomain> <b1c473be-03c1-e4db-f0c4-a23f182c7154@gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
X-Trace: blaine.gmane.org 1481988578 10196 195.159.176.226 (17 Dec 2016 15:29:38 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Sat, 17 Dec 2016 15:29:38 +0000 (UTC)
To: "ISO C++ Standard - Future Proposals" <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBC5JHI7A7ALRBX5T2XBAKGQEVFH2CQA@isocpp.org Sat Dec 17 16:29:33 2016
Return-path: <std-proposals+bncBC5JHI7A7ALRBX5T2XBAKGQEVFH2CQA@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-yw0-f198.google.com ([209.85.161.198])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBC5JHI7A7ALRBX5T2XBAKGQEVFH2CQA@isocpp.org>)
	id 1cIGvT-0001Q1-AV
	for gclcip-std-proposals@m.gmane.org; Sat, 17 Dec 2016 16:29:31 +0100
Original-Received: by mail-yw0-f198.google.com with SMTP id s68sf90602443ywg.7
        for <gclcip-std-proposals@m.gmane.org>; Sat, 17 Dec 2016 07:29:36 -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
         :content-transfer-encoding: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=g/8ieMcDaVOZkbf1q2XA96cfBBpCK7M8LIOFfFBcxgc=;
        b=ACudGb6MSA1G+KNsaMcbgVnDV1ZrcfHOw5I36uHqMLiiwSZ8DNYLScwiPnPTv4PVj+
         J/BWgqtDAmLLhH35gtYvq9oq5Az+R0zKdPQXt7ATfhHmbBZWZ/SUgMTtQBfq1ws0+1WR
         MJIZrCZIKed1gUtK1oklPcarYf4/I+SpQ0vWihnDiFd0BmGbezRKVkshd3WDjumMhiEw
         7RmXu2HvYDXEilCCfGp8OJ5jgJXkxEiUyrqR47BuKAH0JowfWMQEHtU8NwXryta28H6k
         dUbSFncn48QcKfj+dwu9SYIuiIOlWqnxZvjkrb9WzQMWNdmbXbLMdPO/8wytM8I2B8fx
         Rjnw==
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:content-transfer-encoding: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=g/8ieMcDaVOZkbf1q2XA96cfBBpCK7M8LIOFfFBcxgc=;
        b=pJ7m8SdxJ1dmYO4u1EZd0CigmgrILJPTx9lDx4aH7hv0vdq7WUe8pOOvwxJ3zswegb
         ufD7IKvqfAaEbA3e8d/+56rQhVfRrM+H6IsQ4hcYY3ysY678A/cfD8UYrice4coOqThc
         P10/zoZds9d2ZvP1m+gVLCDl+OK5T4TxiRhz81vVW2YrhLlU+In1r9gu2KRnzSIdL0FL
         N1nE2tQ+qHW04yoTOLgE+X/6dhOfHkLKPPWT/8wzuhngNka/LIIHuJ4kmml8cFiyDihY
         o/TOt+14Ee9ZDibgK/Psz6S6jWFb+e77DJ7kOJ2WoiiqM//TzYi2rjfjjH0ysIiYuyEN
         kS5 
X-Gm-Message-State: AKaTC021OgFAgJUwv9BElwN2cIPKjJCC01UORF2s1lePEGlUHFatqQx3J7tNB7qapkbzYQ==
X-Received: by 10.129.147.70 with SMTP id k67mr2210529ywg.148.1481988575587;
        Sat, 17 Dec 2016 07:29:35 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.157.29.137 with SMTP id y9ls10161796otd.39.gmail; Sat, 17 Dec
 2016 07:29:34 -0800 (PST)
X-Received: by 10.176.71.134 with SMTP id v6mr5665246uac.174.1481988574941;
        Sat, 17 Dec 2016 07:29:34 -0800 (PST)
Original-Received: from mail-ua0-x234.google.com (mail-ua0-x234.google.com. [2607:f8b0:400c:c08::234])
        by mx.google.com with ESMTPS id g8si3320869uab.60.2016.12.17.07.29.34
        for <std-proposals@isocpp.org>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Sat, 17 Dec 2016 07:29:34 -0800 (PST)
Received-SPF: pass (google.com: domain of ville.voutilainen@gmail.com designates 2607:f8b0:400c:c08::234 as permitted sender) client-ip=2607:f8b0:400c:c08::234;
Original-Received: by mail-ua0-x234.google.com with SMTP id 12so65119354uas.2
        for <std-proposals@isocpp.org>; Sat, 17 Dec 2016 07:29:34 -0800 (PST)
X-Received: by 10.176.85.24 with SMTP id t24mr7187808uaa.21.1481988574658;
 Sat, 17 Dec 2016 07:29:34 -0800 (PST)
Original-Received: by 10.103.50.74 with HTTP; Sat, 17 Dec 2016 07:29:34 -0800 (PST)
In-Reply-To: <b1c473be-03c1-e4db-f0c4-a23f182c7154@gmail.com>
X-Original-Sender: ville.voutilainen@gmail.com
X-Original-Authentication-Results: mx.google.com;       dkim=pass
 header.i=@gmail.com;       spf=pass (google.com: domain of
 ville.voutilainen@gmail.com designates 2607:f8b0:400c:c08::234 as permitted
 sender) smtp.mailfrom=ville.voutilainen@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:29872
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/29872>

On 17 December 2016 at 16:22, Jonathan M=C3=BCller
<jonathanmueller.dev@gmail.com> wrote:
> Sean Parent worded it better (and had better examples), but that's my
> opinion as well: clone_ptr is not a smart pointer.
> If you want one, don't provide copy/assignment but add (non-)member clone=
()
> that does the deep copy.


Such a type has just one problem: it's close to useless. It doesn't
violate Sean's lofty principles,
but it doesn't solve the problems it's aimed for either.

--=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.
To view this discussion on the web visit https://groups.google.com/a/isocpp=
..org/d/msgid/std-proposals/CAFk2RUYmdj2HwRpP2HhY%3DxujkFP1e5LYKkg6eOGBOF_yE=
-3Lcg%40mail.gmail.com.

.
