220 23854 <n7lqmm$2d3$1@ger.gmane.org> article
Path: news.gmane.org!not-for-mail
From: Matthew Woehlke <mwoehlke.floss@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: RFC: Unpacking tuples to value sequences
Date: Tue, 19 Jan 2016 12:10:45 -0500
Lines: 47
Approved: news@gmane.org
Message-ID: <n7lqmm$2d3$1@ger.gmane.org>
References: <n7jlvp$c44$1@ger.gmane.org> <f758483a-568d-4444-957f-41535c39be4e@isocpp.org> <c91a2d40-17da-4edc-b14b-4e166e9ecaeb@isocpp.org> <6f3ece34-e302-4d95-afd0-4c1924e8a780@isocpp.org> <n7locq$q98$1@ger.gmane.org> <e4a9f750-0608-47ac-9d91-f1201b016b99@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
X-Trace: ger.gmane.org 1453223473 3007 80.91.229.3 (19 Jan 2016 17:11:13 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Tue, 19 Jan 2016 17:11:13 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBC37LBFWUIFBBJW47G2AKGQEZIKTGFI@isocpp.org Tue Jan 19 18:11:04 2016
Return-path: <std-proposals+bncBC37LBFWUIFBBJW47G2AKGQEZIKTGFI@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-lb0-f197.google.com ([209.85.217.197])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBC37LBFWUIFBBJW47G2AKGQEZIKTGFI@isocpp.org>)
	id 1aLZo7-0000Du-2d
	for gclcip-std-proposals@m.gmane.org; Tue, 19 Jan 2016 18:11:03 +0100
Original-Received: by mail-lb0-f197.google.com with SMTP id p10sf66499028lbo.0
        for <gclcip-std-proposals@m.gmane.org>; Tue, 19 Jan 2016 09:11:02 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=to:from:subject:date:lines:message-id:references:mime-version
         :content-type:user-agent:in-reply-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=PfoZfkjWTt3JEVb6qCkSvOb4cVq44QIdK1/bpMRZ7bM=;
        b=Hw1Xle1LOFCilYzQta34busRzwFtIigeNK+EO6eE93U99jKPhyn35jN4HsJMiEbhua
         D5Yyoma4EWu1gttDFMLhOne6bQeQZavwWLG/HyTFhuY+B9P4NWY4dOTvMk231kKsQCxJ
         fhaWNEwsrWydbT+atNpayxvriZy6vtyj3apMkcP4hAU4Up38oNVQwaUjjo28uykpw1c9
         AmDw1qmBbOGzPXcfTBgJfd6e66ynqd2IUa6q9VyX9kzhcjnQTU7ubOt0xRAqlWhlybBi
         Q1aZ0gVK8YTREkUC5cW4WzMmg6bn2OPSvow7KhB5cFwMwvOhO1LJfQBLb63hxAO/jXRG
         RnV 
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:to:from:subject:date:lines:message-id:references
         :mime-version:content-type:user-agent:in-reply-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=PfoZfkjWTt3JEVb6qCkSvOb4cVq44QIdK1/bpMRZ7bM=;
        b=gB2dz0aOmqa+UWLfiQmzaBkZ53a7jYiWuSWaDqm97qtkBiMar4EfI61Hb7fE/fzVN8
         j0VkvZbpY7UC8FhkPPnBn1KHGn/f1pCGnYb/4zPVcjdeg1YluvZCyY7FQMefFxhxF1eX
         2/xj8ZOIDU30r2kJHEIaQ57MotaNE3aIjraxFrMJb1Zxs/R4ZPtexpgBgy6Q1QmS/Jmy
         ShOdyldw3NU4gZ7Kkvc9CIhUzs9pXkft/EQ1HjZqbrLLVWNDZX4QAVWGYgdqvW9Leo2D
         hl3HCpKs+4DRaiO33JqM49yb4Z43FA9kvVhQg1C8vPCdVFdmExNur9ksUpHsVflg4FOA
         
X-Gm-Message-State: AG10YOQXgPUkqJ1ZZhAiWHgMs8uDSh9T5UK6Oz6I4BuPN9XdPDraLPYgGEsiPlsZ0J2iLQ==
X-Received: by 10.112.181.97 with SMTP id dv1mr2889981lbc.16.1453223462727;
        Tue, 19 Jan 2016 09:11:02 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.25.23.160 with SMTP id 32ls626488lfx.63.gmail; Tue, 19 Jan
 2016 09:11:01 -0800 (PST)
X-Received: by 10.25.21.106 with SMTP id l103mr10975456lfi.92.1453223461293;
        Tue, 19 Jan 2016 09:11:01 -0800 (PST)
Original-Received: from plane.gmane.org (plane.gmane.org. [80.91.229.3])
        by mx.google.com with ESMTPS id 24si15239556lfv.62.2016.01.19.09.11.01
        for <std-proposals@isocpp.org>
        (version=TLS1 cipher=AES128-SHA bits=128/128);
        Tue, 19 Jan 2016 09:11:01 -0800 (PST)
Received-SPF: pass (google.com: domain of gclcip-std-proposals@m.gmane.org designates 80.91.229.3 as permitted sender) client-ip=80.91.229.3;
Original-Received: from list by plane.gmane.org with local (Exim 4.69)
	(envelope-from <gclcip-std-proposals@m.gmane.org>)
	id 1aLZo3-0000Ck-At
	for std-proposals@isocpp.org; Tue, 19 Jan 2016 18:10:59 +0100
Original-Received: from tripoint.kitware.com ([66.194.253.20])
        by main.gmane.org with esmtp (Gmexim 0.1 (Debian))
        id 1AlnuQ-0007hv-00
        for <std-proposals@isocpp.org>; Tue, 19 Jan 2016 18:10:59 +0100
Original-Received: from mwoehlke.floss by tripoint.kitware.com with local (Gmexim 0.1 (Debian))
        id 1AlnuQ-0007hv-00
        for <std-proposals@isocpp.org>; Tue, 19 Jan 2016 18:10:59 +0100
X-Injected-Via-Gmane: http://gmane.org/
Original-Lines: 38
Original-X-Complaints-To: usenet@ger.gmane.org
X-Gmane-NNTP-Posting-Host: tripoint.kitware.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0
In-Reply-To: <e4a9f750-0608-47ac-9d91-f1201b016b99@isocpp.org>
X-Original-Sender: mwoehlke.floss@gmail.com
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of gclcip-std-proposals@m.gmane.org designates 80.91.229.3 as
 permitted sender) smtp.mailfrom=gclcip-std-proposals@m.gmane.org;
       dmarc=fail (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-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:23854
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/23854>

On 2016-01-19 11:44, Nicol Bolas wrote:
> On Tuesday, January 19, 2016 at 11:31:31 AM UTC-5, Matthew Woehlke wrote:
>> On 2016-01-19 10:40, Nicol Bolas wrote: 
>>> auto ...thing1 = func([*]f, [*]g)...; 
>>
>> I alluded to this in my other reply, but I think it bears repeating... 
>> what does this (RHS) mean? 
>>
>>   - { func(f<0>, g<0>), func(f<1>, g<1>) } 
>>   - { func(f<0>, f<1>, g<0>), func(f<0>, f<1>, g<1>) } 
>>   - { func(f<0>, g<0>, g<1>), func(f<1>, g<0>, g<1>) } 
>>   - func(f<0>, f<1>, g<0>, g<1>) 
>> 
>> I could legitimately want *any* of those.
> 
> And my syntax can provide *all* of them:
> 
> func([*]f, [*]g)...;
> func([*]f..., [*]g)...;
> func([*]f, [*]g...)...;
> func([*]f..., [*]g...);

Why do I have to unpack it *twice*? Ugh...

> [...] lots and lots of heinous syntax.

I find your proposal much too complicated and severely lacking in
rationale why we need such as a *language* feature. (I have yet to see
you offer a rationale, besides "hey, wouldn't it be great if...".) As
such, I cannot support it in good conscience, and so I will reiterate my
earlier comment: If you feel strongly, I recommend that you write and
present a competing paper.

Unless you can provide a better justification, at this time I intend to
continue with my version in its current form.

-- 
Matthew

-- 

--- 
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 https://groups.google.com/a/isocpp.org/group/std-proposals/.

.
