220 12898 <CAGsORuDSnYrSp0CSnCduHUNj4iEJ0ym3fenpZBmBcNrkFFCD0Q@mail.gmail.com> article
Path: news.gmane.org!not-for-mail
From: Zhihao Yuan <zy@miator.net>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: unevaluated this
Date: Mon, 15 Sep 2014 17:12:35 -0400
Lines: 71
Approved: news@gmane.org
Message-ID: <CAGsORuDSnYrSp0CSnCduHUNj4iEJ0ym3fenpZBmBcNrkFFCD0Q@mail.gmail.com>
References: <009e6218-1e2b-402d-ab1a-e8ebf29f8f77@isocpp.org>	<CAOfiQqmdnj2XFTvnWkd3BoFrQV8dqfeaxCn7_jKx7OT-Pkn+yQ@mail.gmail.com>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="001a1136b2b60f272505032118bc"
X-Trace: ger.gmane.org 1410815574 12043 80.91.229.3 (15 Sep 2014 21:12:54 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Mon, 15 Sep 2014 21:12:54 +0000 (UTC)
To: "std-proposals@isocpp.org" <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBCSKRWMD4EHBBTNM3WQAKGQEB4NGVRA@isocpp.org Mon Sep 15 23:12:48 2014
Return-path: <std-proposals+bncBCSKRWMD4EHBBTNM3WQAKGQEB4NGVRA@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-pa0-f69.google.com ([209.85.220.69])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBCSKRWMD4EHBBTNM3WQAKGQEB4NGVRA@isocpp.org>)
	id 1XTdZn-0003Y0-Hi
	for gclcip-std-proposals@m.gmane.org; Mon, 15 Sep 2014 23:12:47 +0200
Original-Received: by mail-pa0-f69.google.com with SMTP id kx10sf36202421pab.4
        for <gclcip-std-proposals@m.gmane.org>; Mon, 15 Sep 2014 14:12:46 -0700 (PDT)
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:date
         :message-id:subject:from:to:sender:x-original-sender
         :x-original-authentication-results:reply-to:precedence:mailing-list
         :list-id:list-post:list-help:list-archive:list-subscribe
         :list-unsubscribe:content-type;
        bh=jdELWXfNBNtYaCcr0x8nWNO/eXp8E7H3rYAZZj7m6Ho=;
        b=A5Q9mKOzWSTECXzPtsV6ieVgDcKyoJRkrCy81HagNJE0VepScAoj1vhd84YOpIu8F2
         eoAvOAsDdbDDVge3uCc+Pc1I136/GJTLoWOUecBAcXVOBPhctXtmpFfJ/a/qEdF8UtfF
         /BPzbKtNTJ4mk0WU3SW0I2yUmbkIewJbaKnMcpvK48NeCzUikRbGco6pfy8Vfd325PIK
         P7tESi46cjE0fwJQI6t9HVHcYZR98SJjTj6HEJLfvuEiEauBo0jUBOceEd1J1LkdWtWP
         inT38tCOnFANl6+FKgiAWzsvdsdAygraHbvxQpxeXE5KOHfxM70XmdEaFLqWWt9qYPRF
         qlfA==
X-Gm-Message-State: ALoCoQmG4zUu55IIAkxkgyDaVuSTCkk8kGGCfHnBdJIeQmVVfvYlvAYDo1HPBM2RFJgzNJn1o4GV
X-Received: by 10.66.156.100 with SMTP id wd4mr16731008pab.31.1410815566413;
        Mon, 15 Sep 2014 14:12:46 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.140.96.202 with SMTP id k68ls1766242qge.48.gmail; Mon, 15 Sep
 2014 14:12:45 -0700 (PDT)
X-Received: by 10.221.23.66 with SMTP id qz2mr26283314vcb.46.1410815565508;
        Mon, 15 Sep 2014 14:12:45 -0700 (PDT)
Original-Received: from mail-s68.mailgun.info (mail-s68.mailgun.info. [184.173.153.196])
        by mx.google.com with ESMTPS id cj9si6748223vdd.35.2014.09.15.14.12.45
        for <std-proposals@isocpp.org>
        (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Mon, 15 Sep 2014 14:12:45 -0700 (PDT)
Received-SPF: pass (google.com: domain of bounce+3f9131.69110-std-proposals=isocpp.org@miator.net designates 184.173.153.196 as permitted sender) client-ip=184.173.153.196;
Original-Received: from mail-vc0-f175.google.com (mail-vc0-f175.google.com
 [209.85.220.175]) by mxa.mailgun.org with ESMTP id
 54175644.7f1d6035faf0-in3; Mon, 15 Sep 2014 21:12:36 -0000 (UTC)
Original-Received: by mail-vc0-f175.google.com with SMTP id hq11so4047841vcb.34 for
 <std-proposals@isocpp.org>; Mon, 15 Sep 2014 14:12:36 -0700 (PDT)
X-Received: by 10.52.68.102 with SMTP id v6mr21605633vdt.8.1410815555997;
 Mon, 15 Sep 2014 14:12:35 -0700 (PDT)
Original-Received: by 10.220.40.5 with HTTP; Mon, 15 Sep 2014 14:12:35 -0700 (PDT)
In-Reply-To: <CAOfiQqmdnj2XFTvnWkd3BoFrQV8dqfeaxCn7_jKx7OT-Pkn+yQ@mail.gmail.com>
X-Mailgun-Sid: WyI3MTBkYiIsICJzdGQtcHJvcG9zYWxzQGlzb2NwcC5vcmciLCAiNjkxMTAiXQ==
Original-Sender: zy@miator.net
X-Original-Sender: zy@miator.net
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of bounce+3f9131.69110-std-proposals=isocpp.org@miator.net designates
 184.173.153.196 as permitted sender) smtp.mail=bounce+3f9131.69110-std-proposals=isocpp.org@miator.net;
       dkim=pass header.i=@miator.net
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:12898
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/12898>

--001a1136b2b60f272505032118bc
Content-Type: text/plain; charset=UTF-8

On Mon, Sep 15, 2014 at 5:06 PM, Richard Smith <richard@metafoo.co.uk>
wrote:

>
> Given that your std::this_t doesn't work, what's wrong with decltype(this)?
>

The name.  Well, this_t is not the right name too, but we can bike-shed it,
but decltype(this) strongly suggests it gives type of `this`, which is a
pointer,
while the paper suggests it to be the type of the implied object, which is
more convenient from my point of view.

-- 
Zhihao Yuan, ID lichray
The best way to predict the future is to invent it.
___________________________________________________
4BSD -- http://bit.ly/blog4bsd

-- 

--- 
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/.

--001a1136b2b60f272505032118bc
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">On Mon, Sep 15, 2014 at 5:06 PM, Richard Smith <span dir=
=3D"ltr">&lt;<a href=3D"mailto:richard@metafoo.co.uk" target=3D"_blank">ric=
hard@metafoo.co.uk</a>&gt;</span> wrote:<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"><div dir=3D"ltr"><div=
 class=3D"gmail_extra"><br><div class=3D"gmail_quote">Given that your std::=
this_t doesn&#39;t work, what&#39;s wrong with decltype(this)?</div></div><=
/div></blockquote></div><br></div><div class=3D"gmail_extra">The name.=C2=
=A0 Well, this_t is not the right name too, but we can bike-shed it,<br></d=
iv><div class=3D"gmail_extra">but decltype(this) strongly suggests it gives=
 type of `this`, which is a pointer,<br></div><div class=3D"gmail_extra">wh=
ile the paper suggests it to be the type of the implied object, which is<br=
>more convenient from my point of view.<br clear=3D"all"></div><div class=
=3D"gmail_extra"><br>-- <br>Zhihao Yuan, ID lichray<br>The best way to pred=
ict the future is to invent it.<br>________________________________________=
___________<br>4BSD -- <a href=3D"http://bit.ly/blog4bsd" target=3D"_blank"=
>http://bit.ly/blog4bsd</a>
</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 />

--001a1136b2b60f272505032118bc--

.
