220 29563 <CAKgx6BL5vumvSnaTPm2HW=72hGnEV4p=WBCZTSueWHOO6-_icA@mail.gmail.com> article
Path: news.gmane.org!.POSTED!not-for-mail
From: Domen Vrankar <domen.vrankar@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Instantiation of default destructor
Date: Mon, 28 Nov 2016 21:21:35 +0100
Lines: 71
Approved: news@gmane.org
Message-ID: <CAKgx6BL5vumvSnaTPm2HW=72hGnEV4p=WBCZTSueWHOO6-_icA@mail.gmail.com>
References: <CAKgx6B+8zzZ131-UZobmUvCgB4YeQ1+wTZadcuT6ieDCofDndg@mail.gmail.com>
 <CAGg_6+Nkv4oNaA8FuA68VQCEzfqnVM3A1ZBSxt2NOtsUgDB1gQ@mail.gmail.com>
 <CAKgx6BK4yf6YexmGyFKPg2cyStMxdNp7-gJQy=cTehbw_xk=aQ@mail.gmail.com> <2895021.stej6Iglf8@tjmaciei-mobl1>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary=001a114fce3a5129f70542623af3
X-Trace: blaine.gmane.org 1480364547 22453 195.159.176.226 (28 Nov 2016 20:22:27 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Mon, 28 Nov 2016 20:22:27 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCHJ3Z4NUUFBB6VD6LAQKGQE7CT2KVI@isocpp.org Mon Nov 28 21:22:20 2016
Return-path: <std-proposals+bncBCHJ3Z4NUUFBB6VD6LAQKGQE7CT2KVI@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-qt0-f200.google.com ([209.85.216.200])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBCHJ3Z4NUUFBB6VD6LAQKGQE7CT2KVI@isocpp.org>)
	id 1cBSRL-0004Et-VA
	for gclcip-std-proposals@m.gmane.org; Mon, 28 Nov 2016 21:22:16 +0100
Original-Received: by mail-qt0-f200.google.com with SMTP id j49sf99018162qta.1
        for <gclcip-std-proposals@m.gmane.org>; Mon, 28 Nov 2016 12:22:20 -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=pPGOGgHeZhBZmMzvQoRrSCCLJyfsquhnfCwBOO11SyE=;
        b=SwNEtScwphcd0fV0WVcEKqMn4pyoi4+QVZltP4iM6pJVvu/kE8C5QVp7WOvbTej0E9
         lwpJb1qmD/ydhz7AV4Z1Pxzsky0+t16lJJNraJXC2NRTl0K7W92+26fqduzh/iAC5FmB
         mSq5KfVN7vX3v364D7UBX2wpdp8t1izbXhXdR7QNtJszW2aRFc7q1pK/cSwXMsb+rU/K
         FfJglMRy828Fc0TlhRvTHH7qJ5tYJlH43zMbT2K75F6N5JLx+oNO2NXfXb2g0qRV8Ddj
         8xyKcu8PUzeJiwglxuEB2zQbp12TDwx9SiBaYsQsNnIuKCIbAya18MBUw82EdlRx3GvB
         LC8g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        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=pPGOGgHeZhBZmMzvQoRrSCCLJyfsquhnfCwBOO11SyE=;
        b=QxigXJuS7kAKupQqUnd+cVBlVz4xCluoApcwvCET3z4WqEkI5/wug8itzwysx48i23
         B37Tq4FggexNGQtoCs/+ZTf3a+abB+FNtJl+PacN469QaNRxTR5HBWXGB2flaxS4nn26
         Z64+6B/3U88OyD0aQ29jFXPBegEXT+YB5Bdffv/Bg7swpAUoWgP2q1X9BTiThkPBGJPU
         5VrZmB85uArpnuSFxn2/1latfOvC7b2kk2+VHscbUqlwCm+JF2mjCkxVB4bUC9eoP+7L
         zogIajB3pMd7WogBj4+RLbxQlp8QSGeGFsqmRq2wYIsgfxaVBB6Oa++n9xg4ZC/N84+j
         0LsA==
X-Gm-Message-State: AKaTC00vZ+selKbm2+FPGwaMZunGEEXSeeBl5N2i/lmjBT6OWA3kttacyPTLf8IQkj54Vg==
X-Received: by 10.200.52.48 with SMTP id u45mr4618280qtb.25.1480364539551;
        Mon, 28 Nov 2016 12:22:19 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.36.120.146 with SMTP id p140ls3422263itc.14.gmail; Mon, 28 Nov
 2016 12:22:16 -0800 (PST)
X-Received: by 10.36.60.7 with SMTP id m7mr20275495ita.7.1480364536559;
        Mon, 28 Nov 2016 12:22:16 -0800 (PST)
Original-Received: from mail-io0-x22b.google.com (mail-io0-x22b.google.com. [2607:f8b0:4001:c06::22b])
        by mx.google.com with ESMTPS id l8si41610699ioa.2.2016.11.28.12.22.16
        for <std-proposals@isocpp.org>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Mon, 28 Nov 2016 12:22:16 -0800 (PST)
Received-SPF: pass (google.com: domain of domen.vrankar@gmail.com designates 2607:f8b0:4001:c06::22b as permitted sender) client-ip=2607:f8b0:4001:c06::22b;
Original-Received: by mail-io0-x22b.google.com with SMTP id m5so113373118ioe.3
        for <std-proposals@isocpp.org>; Mon, 28 Nov 2016 12:22:16 -0800 (PST)
X-Received: by 10.107.20.77 with SMTP id 74mr20394868iou.66.1480364536175;
 Mon, 28 Nov 2016 12:22:16 -0800 (PST)
Original-Received: by 10.50.235.15 with HTTP; Mon, 28 Nov 2016 12:21:35 -0800 (PST)
In-Reply-To: <2895021.stej6Iglf8@tjmaciei-mobl1>
X-Original-Sender: Domen.Vrankar@gmail.com
X-Original-Authentication-Results: mx.google.com;       dkim=pass
 header.i=@gmail.com;       spf=pass (google.com: domain of
 domen.vrankar@gmail.com designates 2607:f8b0:4001:c06::22b as permitted
 sender) smtp.mailfrom=domen.vrankar@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:29563
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/29563>

--001a114fce3a5129f70542623af3
Content-Type: text/plain; charset=UTF-8

2016-11-28 20:42 GMT+01:00 Thiago Macieira <thiago@macieira.org>:

> On segunda-feira, 28 de novembro de 2016 20:17:12 PST Domen Vrankar wrote:
> > A::A(int i) {} // implementation of the first constructor so destructor
> is
> > generated here as if writing A::~A() = default; after this line
>
> Your comment makes an invalid assumption. The destructor is not generated
> there.
>

Lost me... Where then? Meaning 'not generated there currently' or 'not
generated there even if A::~A() = default; would be written there' as this
was not meant as how it works now but what I've proposed.
I always expected that that's the point where compiler prepares the
destructor is the point where it finds it in the code.

Regards,
Domen

-- 
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/CAKgx6BL5vumvSnaTPm2HW%3D72hGnEV4p%3DWBCZTSueWHOO6-_icA%40mail.gmail.com.

--001a114fce3a5129f70542623af3
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">2016-11-28 20:42 GMT+01:00 Thiago Macieira <span dir=3D"lt=
r">&lt;<a href=3D"mailto:thiago@macieira.org" target=3D"_blank">thiago@maci=
eira.org</a>&gt;</span>:<br><div class=3D"gmail_extra"><div class=3D"gmail_=
quote"><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-=
left:1px #ccc solid;padding-left:1ex"><span class=3D"">On segunda-feira, 28=
 de novembro de 2016 20:17:12 PST Domen Vrankar wrote:<br>
&gt; A::A(int i) {} // implementation of the first constructor so destructo=
r is<br>
&gt; generated here as if writing A::~A() =3D default; after this line<br>
<br>
</span>Your comment makes an invalid assumption. The destructor is not gene=
rated<br>
there.<br></blockquote><div><br></div><div>Lost me... Where then? Meaning &=
#39;not generated there currently&#39; or &#39;not generated there even if =
A::~A() =3D default; would be written there&#39; as this was not meant as h=
ow it works now but what I&#39;ve proposed.<br></div><div>I always expected=
 that that&#39;s the point where compiler prepares the destructor is the po=
int where it finds it in the code.</div><div><br></div><div>Regards,<br></d=
iv><div>Domen<br></div><div><br></div></div></div></div>

<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/CAKgx6BL5vumvSnaTPm2HW%3D72hGnEV4p%3D=
WBCZTSueWHOO6-_icA%40mail.gmail.com?utm_medium=3Demail&utm_source=3Dfooter"=
>https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/CAKgx6BL5vumv=
SnaTPm2HW%3D72hGnEV4p%3DWBCZTSueWHOO6-_icA%40mail.gmail.com</a>.<br />

--001a114fce3a5129f70542623af3--

.
