220 34160 <CAGsORuBeCYWv-a5LiTkQAQFV39W3HgYPC3Y263ucvGioyb=y7g@mail.gmail.com> article
Path: news.gmane.org!.POSTED!not-for-mail
From: Zhihao Yuan <zy@miator.net>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Re: Structured bindings with polymorphic lambdas
Date: Sat, 26 Aug 2017 19:51:31 -0500
Lines: 23
Approved: news@gmane.org
Message-ID: <CAGsORuBeCYWv-a5LiTkQAQFV39W3HgYPC3Y263ucvGioyb=y7g@mail.gmail.com>
References: <b8d14aa1-adcb-41d9-8fe8-d70805927161@isocpp.org>
 <8497b31b-7c9d-4334-ac22-0809c958cb93@isocpp.org> <15a70d94-e039-4f82-ba01-bde9d3fbacbd@isocpp.org>
 <CAGsORuDZ=TVXNXr5NfZv-fry_kCRkmp_0+kNy59EqoRgr_BzPg@mail.gmail.com> <f0a5b11a-7fb8-4243-a8c2-51a6aaaaf1d5@isocpp.org>
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 1503795101 3839 195.159.176.226 (27 Aug 2017 00:51:41 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Sun, 27 Aug 2017 00:51:41 +0000 (UTC)
Cc: "ISO C++ Standard - Future Proposals" <std-proposals@isocpp.org>, Zhihao Yuan <zy@miator.net>
To: Curious <rmn100@gmail.com>
Original-X-From: std-proposals+bncBCSKRWMD4EHBBFVPRDGQKGQEG3YW6PQ@isocpp.org Sun Aug 27 02:51:36 2017
Return-path: <std-proposals+bncBCSKRWMD4EHBBFVPRDGQKGQEG3YW6PQ@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-io0-f198.google.com ([209.85.223.198])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBCSKRWMD4EHBBFVPRDGQKGQEG3YW6PQ@isocpp.org>)
	id 1dllnW-0000L5-73
	for gclcip-std-proposals@m.gmane.org; Sun, 27 Aug 2017 02:51:30 +0200
Original-Received: by mail-io0-f198.google.com with SMTP id m40sf29196204ioi.4
        for <gclcip-std-proposals@m.gmane.org>; Sat, 26 Aug 2017 17:51:37 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1503795095; cv=pass;
        d=google.com; s=arc-20160816;
        b=tunGuitxkKimyRwvPkfRW3uDOTe59UkbgphVv2ASr9G/2/nBBo/9qbCcN/etfHpKkm
         7Cq6c2HaNAKXJMMrPRwlOV2M1kd9WIntjn8eq3krDk8pNq5LVkuandr60HFG63sVosH7
         C0OLyWsuHHZeactHEezgfs1Hq+4vq7j06IUw+33uI3hJsy4ie7ZgT+4FEzO+7mYAY4wb
         Pna1zInVw+mef0X0p8Nqb2pyIDzZCDixmEaEZPIHg4CD2akdp+rBXWBf2G0fGouwps4z
         u6a5OCTRSiTrQLXXfqTi0Z6WGcIQT82QNQP89cDy0XxgSZm5g2/q7iJP3Py2XhFb8G4R
         Kf0Q==
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:cc:to:subject:message-id
         :date:from:references:in-reply-to:mime-version:sender
         :arc-authentication-results:arc-message-signature
         :arc-authentication-results;
        bh=YVG73GfWaqGyXoakB8teVjc/JE5Cit2v5QIsqECXImg=;
        b=XEpJ9yTACAX0opOIA94ZFNK2hj1fxDsNFxH0BAJtyW3UjBJkeLnBYoInS43GG/xKVc
         4Lks1C1R26k6t879AK/1yV9Kk1EAVcVEeGrKKxPKvi6RGbiRsQ6mRyBemgDYc9g0rM1T
         z5Rozvozr9+imnZ4f3DmsX2Ud2AR4N3FEeSbORT7KvUXDm7ggNBpLjSv3RrZ262wYO35
         Kll6MkyWmFNA3/X9MOCValRHxPoQpXO90ALAEMi+awrjJCvdUn1c+TyCUmP4pH0oT5cK
         +hwPPMKVOZ1xQBWVnRZy9OnZFU78b+TTQFuI2cu+CbsSNh6b+r0UIaD5HU9SUdTmoJ4a
         /zgg==
ARC-Authentication-Results: i=2; mx.google.com;
       dkim=pass header.i=@miator.net header.s=krs header.b=IU6K+sGx;
       spf=pass (google.com: domain of bounce+3f9131.69110-std-proposals=isocpp.org@miator.net designates 184.173.153.196 as permitted sender) smtp.mailfrom=bounce+3f9131.69110-std-proposals=isocpp.org@miator.net
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:sender:mime-version:in-reply-to:references:from
         :date:message-id:subject:to:cc: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=YVG73GfWaqGyXoakB8teVjc/JE5Cit2v5QIsqECXImg=;
        b=W/y+OSUbrE+RtO4o3VQYpfgfoevY+cZe6SKgp6wGr6/V0gEnwQNkKJdHvXQjR6Z0Qp
         As0HQW62uBdctUIK5fUzLsaDmYbDaga8Xp28HF9UGg+nhRnHkseJ0j+oi7/cT65B5rD4
         x2UaJoGESyuKcQxW7Ze3L7DSytdxC0nHvcdhbdlUUUNzjq/dRtEYCpCWkBxtpZaklxiG
         ry7Jtqr2vJ+MihiU7YmRJveXAZWAcNkkwOczs6iGSJWiaXrTVxgpPtBNZ6KP+jV5p5e5
         VaHePdoaYEg168bsJcMZ3j+zvvgyX9z67NlcEISfIR0fpeQN4BSyi+u90H0qhqZqx0Qm
         ZaIw==
X-Gm-Message-State: AHYfb5jVmyuC6GslQZn++KizSdOrufKqGQMRQ1Al1j/AGwSz8ZEz7Wba
	BoY9xxlaYlR3dK/X
X-Received: by 10.36.23.213 with SMTP id 204mr2250168ith.14.1503795095361;
        Sat, 26 Aug 2017 17:51:35 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.107.136.10 with SMTP id k10ls8056665iod.15.gmail; Sat, 26 Aug
 2017 17:51:34 -0700 (PDT)
X-Received: by 10.55.125.71 with SMTP id y68mr3724015qkc.179.1503795093973;
        Sat, 26 Aug 2017 17:51:33 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1503795093; cv=none;
        d=google.com; s=arc-20160816;
        b=uZEk0BrYH7hTwd1Guru5rEIlXiPNmcmjEDDe4jFG2TTZRBGUj2+ZuldHQnI8VEFi5a
         9n8ngnbdF9wE8Wwda5T11ckWyKLECU9n1gljiwzSVRaBeOiwSLJX5zSiwcSFYN3dThko
         m7SxXknZW/Y4Rck6S7cnU9i70U8Q3wSkggZNkYG+LvPb4L0QQX/6C4bRHF0WFAA+yYPx
         ZPOxA/VDXL9IVP0TJwXfAf92Oy+G7xh+mSCM8SKWfttw7sIWeXlGdYfiJeUBjxqPpAJS
         GDizMiZ9AlPNIUuC2PjWqJJtFSj+qHYjGkzYu5/tKWzSOaBcMwZ6+60wHK9vHNSfszrC
         y1hQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=cc:to:subject:message-id:date:from:references:in-reply-to
         :mime-version:sender:domainkey-signature:dkim-signature
         :arc-authentication-results;
        bh=YNbLoWu38crhmkLes8utJG/5pF+jFcvCY82SZPHiSJ0=;
        b=06+bb28FhwMRkO9Y666GQbsJpYe2sD8NfCJp8DosBjgvLiAZ5ZaIdbvHfTEGrs7Afo
         8JcUaQw7XysqUIO607rAbWrNu3KiCscMDOznC3CtT7aSv14c2AYlfM1s508fKMmDCOLH
         Zz9Qx6PxHvXiFm04Pkl7nsZ59WQA/DuBgfIQc5Lz0hiNXYZfNQuxCjUeHt/IdPbm4EzX
         oeZ+uoEeon0+J8HRySEhHpYswZvpsdwNpQqaZojNblNDs5G3/+D0g8BnEpFIKCqX93ZE
         4PYjtNfGZIslD9VPlJQYHDLIzp8xJ7qzBYMWJxAHxzB7DDxQOyHf+Ce1vFH43c9rq1cT
         w11Q==
ARC-Authentication-Results: i=1; mx.google.com;
       dkim=pass header.i=@miator.net header.s=krs header.b=IU6K+sGx;
       spf=pass (google.com: domain of bounce+3f9131.69110-std-proposals=isocpp.org@miator.net designates 184.173.153.196 as permitted sender) smtp.mailfrom=bounce+3f9131.69110-std-proposals=isocpp.org@miator.net
Original-Received: from mail-s68.mailgun.info (mail-s68.mailgun.info. [184.173.153.196])
        by mx.google.com with UTF8SMTPS id d194si9562329qkc.325.2017.08.26.17.51.33
        for <std-proposals@isocpp.org>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Sat, 26 Aug 2017 17:51:33 -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-Sender: zy@miator.net
X-Mailgun-Sending-Ip: 184.173.153.196
X-Mailgun-Sid: WyI3MTBkYiIsICJzdGQtcHJvcG9zYWxzQGlzb2NwcC5vcmciLCAiNjkxMTAiXQ==
Original-Received: from mail-qt0-f173.google.com (mail-qt0-f173.google.com [209.85.216.173])
 by mxa.mailgun.org with ESMTP id 59a21795.7fb5cc7e0030-smtp-out-n03;
 Sun, 27 Aug 2017 00:51:33 -0000 (UTC)
Original-Received: by mail-qt0-f173.google.com with SMTP id q53so12856474qtq.5
        for <std-proposals@isocpp.org>; Sat, 26 Aug 2017 17:51:33 -0700 (PDT)
X-Received: by 10.200.55.1 with SMTP id o1mr2624573qtb.250.1503795092412; Sat,
 26 Aug 2017 17:51:32 -0700 (PDT)
Original-Received: by 10.237.41.1 with HTTP; Sat, 26 Aug 2017 17:51:31 -0700 (PDT)
In-Reply-To: <f0a5b11a-7fb8-4243-a8c2-51a6aaaaf1d5@isocpp.org>
X-Gmail-Original-Message-ID: <CAGsORuBeCYWv-a5LiTkQAQFV39W3HgYPC3Y263ucvGioyb=y7g@mail.gmail.com>
X-Original-Sender: zy@miator.net
X-Original-Authentication-Results: mx.google.com;       dkim=pass
 header.i=@miator.net header.s=krs header.b=IU6K+sGx;       spf=pass
 (google.com: domain of bounce+3f9131.69110-std-proposals=isocpp.org@miator.net
 designates 184.173.153.196 as permitted sender) smtp.mailfrom=bounce+3f9131.69110-std-proposals=isocpp.org@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: <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:34160
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/34160>

On Sat, Aug 26, 2017 at 4:54 PM, Curious <rmn100@gmail.com> wrote:
> Yeah I intentionally defined it like that.  In the expansion of the lambda
> the copy-init (if any) happens before the decomposition; the actual
> decomposition step happens inside the body of the function.  This also fits
> the scope visibility issue that I mentioned.  Did I leave something
> specified ambiguously?
>

Hmmm, no.  I just didn't see this discussion in
section 7, which briefly introduced the model
again.  Maybe put section 7 in section 5.2?

-- 
Zhihao Yuan, ID lichray
The best way to predict the future is to invent it.
_______________________________________________

-- 
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/CAGsORuBeCYWv-a5LiTkQAQFV39W3HgYPC3Y263ucvGioyb%3Dy7g%40mail.gmail.com.

.
