220 40731 <CAFk2RUYpP2AkfJeU_COZJSLo5A_LNXftkXm8hn2x8CGc8m_DGw@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: shared_ptr and unique_ptr should both implicitly
 convert to observer_ptr
Date: Thu, 25 Oct 2018 16:28:41 +0300
Lines: 24
Approved: news@gmane.org
Message-ID: <CAFk2RUYpP2AkfJeU_COZJSLo5A_LNXftkXm8hn2x8CGc8m_DGw@mail.gmail.com>
References: <81a04b52-e5cd-4543-86c5-5a0068f9647b@isocpp.org>
 <CAOHCbiuqHGogymYhCxDGmQWVPegmZQjoOy738k9Ey6J=arCe7A@mail.gmail.com>
 <464c2586-4d3f-43e1-b135-d4c51436d672@isocpp.org> <20181025125433.5218385.77798.64223@gmail.com>
 <CANPtknxg98ZuW9jcVs=e_hKYr3JF750vTRk+8m4hFWvm3imahw@mail.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"
X-Trace: blaine.gmane.org 1540474010 28947 195.159.176.226 (25 Oct 2018 13:26:50 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Thu, 25 Oct 2018 13:26:50 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBC5JHI7A7ALRBFUKY7PAKGQEGDHYZTI@isocpp.org Thu Oct 25 15:26:45 2018
Return-path: <std-proposals+bncBC5JHI7A7ALRBFUKY7PAKGQEGDHYZTI@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-ot1-f71.google.com ([209.85.210.71])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBC5JHI7A7ALRBFUKY7PAKGQEGDHYZTI@isocpp.org>)
	id 1gFfev-0007Rg-Lk
	for gclcip-std-proposals@m.gmane.org; Thu, 25 Oct 2018 15:26:45 +0200
Original-Received: by mail-ot1-f71.google.com with SMTP id k15sf5873690otd.20
        for <gclcip-std-proposals@m.gmane.org>; Thu, 25 Oct 2018 06:28:56 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1540474135; cv=pass;
        d=google.com; s=arc-20160816;
        b=PYo4cP1HuWi/KLIQL2tdhryRUUcLAGjzSDXDQ5VrvFGUvSUfy5FzqDCJP55YKYfmP5
         cW6D+eyzEH5bSNvoRdDRXiPVnqOZWe1yNPeqSwv+QPxa30j6KIBp49MlhwCCEVHH2i/f
         maSJgRyoXHGDV/AKKD6nTe9MBE7NiVTBL1ij/HaxHY/yd1HT7bYxYcfJVKZW5aTvzQYe
         X45/ftbVjI5p5zBKzO6s48nr1X9vTW5zxDsckEHRcApVQzbRpOx+1WJufl/BF7xu4iFF
         1jKk1f81DKJ6hKfBiUvuW0eh2W8LDRqO2QZo840yaDZ738TyxpLCbiHDeVoKMWIr1XPg
         plFw==
ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post
         :list-id:mailing-list:precedence:reply-to:to:subject:message-id:date
         :from:in-reply-to:references:mime-version:dkim-signature;
        bh=iAr5cB4XKNV1Q0Hz9i2hf/3FAWsGh1idpgV2u8KcrOo=;
        b=vmWQFrs3nrL1Q1yHkRb7i6v9sDpxGhDxVbjPUJfNCFXBv4X2ZGqces3tEMX9ubuhet
         McEWfFFzfFRWVySILfI9FyVqXW/U8jX+ptM+Sr4FzIBbMLfD1sIoPVJ4qlBXoOYaH7zZ
         YgoJaLnWa+pwrP8jYVoNiquz7uSN9N6b7IKt6Dr5dGAU1aio2SM7G16VWnBBC10PJFLP
         it5FwR4U8K1LyGhW6Gva9VbbFwwO6/Bk0EzyXVYrxPqyouvtwYP/my7asVao92TKfi3z
         sMa3cRdM8xIVZm6qfTdPpstG6fNb6cWPrmDi2CCohBEWs6aSmY1p80KkUes5vOh7RfCo
         rciw==
ARC-Authentication-Results: i=2; mx.google.com;
       dkim=pass header.i=@gmail.com header.s=20161025 header.b=ZMWbPsfN;
       spf=pass (google.com: domain of ville.voutilainen@gmail.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=ville.voutilainen@gmail.com;
       dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=mime-version:references:in-reply-to:from:date:message-id:subject: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;
        bh=iAr5cB4XKNV1Q0Hz9i2hf/3FAWsGh1idpgV2u8KcrOo=;
        b=Hqfh9JncrMq7/bTZIDTNUhsj+7tDxqMk6kbEYnrm+vsKAVc5LNs8AKeUEq8LEGSUCo
         dH0JetiWpwvDTAWA30mRQW9qDcRr48KoLbELvvi2BPvvemXJxtMIiHr7oGejlLPoNXpZ
         E9+1j0Kb2Ei4Xm/lhqRwHiCTbSDHdjCd94/bYGsHayUtWtXTMiCK9pkSzIWV7U6XR1pV
         UsL2BNA6HVjdEfNBc75norRcImrFLaMFJQKaz3E/NIlWvfosCJ4lerFsdg1UC81fu62Z
         DCiuPnvxs4KelgeCgK80hYv0MhgYp4EmHZ8N4e83CQNohbcQVLicfcg9j65KepOj7ow6
         ZlWg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:mime-version:references:in-reply-to: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=iAr5cB4XKNV1Q0Hz9i2hf/3FAWsGh1idpgV2u8KcrOo=;
        b=m3JkTCK5rjge/ZEuG52esJ1QPkWOnb3TOq5kW3w/jJVUPvX++bfH10tIPEuod4R2sn
         itOKqFp4i++1kpV5ZO1IrlHI1DBB78w3i1zaIfZSrb4/O2oJ9Mb0JjLBoSJUaUxZ5rpP
         9qKZhUuH6RXHt9b2l+7eJ3daAoKp84azFBlk9Mcl2yOLu/TnoYKtQb1Mo6YzTPAkVJyd
         W09AB0lhxMg/eJ1H89+eu3LiqjK266l+1tvrr283bpkBGLK3xUpHpDjl9YrVVVDcfP9+
         wPSu6GhGthKKe3pfhm+vNx/YWWrZZwnEZmB42M8se8YhI2m9fR3duOWFyzkD+LluhqHX
         BfCA==
X-Gm-Message-State: AGRZ1gISOQFKIzUKyeZIyTDiSBba22jOdiz0RSiRKznUZA2ru7Uxzm6J
	xAmyuoD1BWhCxcBgwcC5ZSbHlg==
X-Google-Smtp-Source: AJdET5dLcAW2C0L5roFDNGIU/RZynhAhKEIqUPi8efH7nMKJwgf4IF5pAhuR30MTrmdFAe+cCuRbOw==
X-Received: by 2002:aca:5e06:: with SMTP id s6-v6mr1190503oib.31.1540474135845;
        Thu, 25 Oct 2018 06:28:55 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 2002:a9d:3d35:: with SMTP id a50ls5341591otc.8.gmail; Thu, 25 Oct
 2018 06:28:54 -0700 (PDT)
X-Received: by 2002:a9d:cb0:: with SMTP id b45mr1422589otb.2.1540474134445;
        Thu, 25 Oct 2018 06:28:54 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1540474134; cv=none;
        d=google.com; s=arc-20160816;
        b=PitPXjsQRJXNERcdTvSzxHXs0W1+B+4fsPfSKJV0j/q/1x7ouQyDBuRJQOu2pylqev
         4UmRGwudzjHv6oBqpV2DS8SFO9CX7tagnPTcSV5tpZcJqFuzaGLs2nbyyABfiLumc1d/
         t1h1koHLPWlGasENI6bAKMicqVgBqUBPLy5wGB19z/ShcQNFD0BknOmsZ8lrjAH5JQ5R
         ofM+WPKVrIDxN5KOMpT6369kbE+7xqFKTJXHJgLMFabUon6pICREIattw4OomOlkyooL
         tytPf1SOA3mS3eyTktnfTlH4PhVuTd2QeEsF1au3NAoCtDIvLxxU8TBRh2kzQ2/xqerD
         3d2w==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=to:subject:message-id:date:from:in-reply-to:references:mime-version
         :dkim-signature;
        bh=zXlW1x1xWxTdUNXbaVNd/G8pRQ/BcaJ3qOeivxqVEGs=;
        b=0NTuLgShE1IWjICi07mPwjfJEgP829xw/PFXh8Vlr2vfa2CQeSjEzjUol+sEgbSUpZ
         vlopQQ2uQzexyM7kZsCDbLWpyocx+iikitDrBdXFOJOH7rUIFxQ0B4+c0v9qOMS/rQ2F
         QXKeXBLqluHIlCWPP+AY5n0iBlzWEJe+pewcg8OlIC9eQyJwuChghArfOsfw7yQjgCiM
         fOr40+v+LBQF+SA2WU8eVkzvcr7cvZ4hrPDJL63GRU4iMCBrII0aqkVM0K15tnJdoqlD
         /gTIii4orYN4LweF8dyCnLQZIDyCKjy/LCP5fWLQBANgH0bIpnRw6aQYlRpH4UIsz9kl
         1GPg==
ARC-Authentication-Results: i=1; mx.google.com;
       dkim=pass header.i=@gmail.com header.s=20161025 header.b=ZMWbPsfN;
       spf=pass (google.com: domain of ville.voutilainen@gmail.com designates 209.85.220.41 as permitted sender) smtp.mailfrom=ville.voutilainen@gmail.com;
       dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com
Original-Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. [209.85.220.41])
        by mx.google.com with SMTPS id c5-v6sor4492322oia.79.2018.10.25.06.28.54
        for <std-proposals@isocpp.org>
        (Google Transport Security);
        Thu, 25 Oct 2018 06:28:54 -0700 (PDT)
Received-SPF: pass (google.com: domain of ville.voutilainen@gmail.com designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41;
X-Received: by 2002:aca:c351:: with SMTP id t78-v6mr486552oif.338.1540474133968;
 Thu, 25 Oct 2018 06:28:53 -0700 (PDT)
In-Reply-To: <CANPtknxg98ZuW9jcVs=e_hKYr3JF750vTRk+8m4hFWvm3imahw@mail.gmail.com>
X-Original-Sender: ville.voutilainen@gmail.com
X-Original-Authentication-Results: mx.google.com;       dkim=pass
 header.i=@gmail.com header.s=20161025 header.b=ZMWbPsfN;       spf=pass
 (google.com: domain of ville.voutilainen@gmail.com designates 209.85.220.41
 as permitted sender) smtp.mailfrom=ville.voutilainen@gmail.com;
       dmarc=pass (p=NONE sp=QUARANTINE 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-Spam-Checked-In-Group: 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:40731
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/40731>

On Thu, 25 Oct 2018 at 16:19, Peter Koch Larsen
<peter.koch.larsen@gmail.com> wrote:
>
>
>
> On Thu, Oct 25, 2018 at 2:54 PM Tony V E <tvaneerd@gmail.com> wrote:
>>
>> When you have a raw pointer, ownership is not (typically) obvious.
>>
>
> Well... writing modern C++ (in my sense of modern) it is. A raw pointer is newer owned.

This is, to me, a fairly astonishing part of what some call "modern"
C++. Instead of enforcing semantics with
a type, they are loosely agreed on by an unenforceable convention.
That seems like a massive
step backwards, instead of being modern.

-- 
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/CAFk2RUYpP2AkfJeU_COZJSLo5A_LNXftkXm8hn2x8CGc8m_DGw%40mail.gmail.com.

.
