220 24078 <n8gk3i$quh$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: Fri, 29 Jan 2016 16:03:46 -0500
Lines: 31
Approved: news@gmane.org
Message-ID: <n8gk3i$quh$1@ger.gmane.org>
References: <n7jlvp$c44$1@ger.gmane.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>	<n7lqmm$2d3$1@ger.gmane.org>	<6ad65a24-8a2e-4053-b9c9-80d296d98e7d@isocpp.org>	<n7m5v9$346$1@ger.gmane.org>	<72de7daf-93af-4e55-95ea-67898bd2a5f6@isocpp.org>	<n7o939$vj0$1@ger.gmane.org>	<CADvuK0+ecVzhSbXo-1Yr-Awp2OGgR53vqe+6oCigA1wS+nVk1w@mail.gmail.com>	<n7qu59$1sg$1@ger.gmane.org>	<29e7b2a0-05fb-46e2-92bc-2a83f8a1e53c@isocpp.org>	<n85baf$hvg$1@ger.gmane.org>	<CAFk2RUaAbAJPgNZcCBHKEeKO16WTNK2dzHby=8aD1Sra-HpnUA@mail.gmail.com>	<n85f6j$lh1$1@ger.gmane.org>	<CAFk2RUbp=SEBZa_T+KUDqOiEt0T-jid4MxkuLJQK=_=_g3pPng@mail.gmail.com>	<n85lg5$3jl$1@ger.gmane.org>	<CADvuK0K1frMJcBik1+
 wV0HXMQX-+YcfF_X8aV9cm20dgNyFcQg@mail.gmail.com>	<n85upk$71n$1@ger.gmane.org>	<cd2383c2-e81f-411f-ac71-203ae4398759@isocpp.org> <CADvuK0JzXRaw1-m5k0_Lh8O0H9tUoZa3fWVxYuatRABjB_sChA@mail.gmail.com>
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 1454101454 29020 80.91.229.3 (29 Jan 2016 21:04:14 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Fri, 29 Jan 2016 21:04:14 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBC37LBFWUIFBBPVHV62QKGQEUT4TC3A@isocpp.org Fri Jan 29 22:04:05 2016
Return-path: <std-proposals+bncBC37LBFWUIFBBPVHV62QKGQEUT4TC3A@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-lb0-f199.google.com ([209.85.217.199])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBC37LBFWUIFBBPVHV62QKGQEUT4TC3A@isocpp.org>)
	id 1aPGD2-0000aM-UQ
	for gclcip-std-proposals@m.gmane.org; Fri, 29 Jan 2016 22:04:00 +0100
Original-Received: by mail-lb0-f199.google.com with SMTP id p10sf26689945lbo.0
        for <gclcip-std-proposals@m.gmane.org>; Fri, 29 Jan 2016 13:04:00 -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=B1VE2JymGtQltgaiwtHiuiswHq2Kpmbii0nCYrZB1lI=;
        b=HiuWG9oRRl28bvq+A5PFfeV/RS2TMKw8EgXF2qYG+KAy+2kynPKDCUI5wqgQpAfqEo
         qb+VwvxWS9mKigveF1ES9nAa3QLKo/LavMBBmCu0q8swJ13gnopGIhwwqbe2TLrKGZhW
         vwxXhpwFEl0rnubb4xpBLYtWs1MQg7jdf3hhXXaLfSLHFXn4mau8lGFUuoN9RWZ3zomQ
         +hU95f7uC9395S4jGoyVrYSPod3rdFrX1f/BUUs3u20RvrEuGeonbyfQTDk/aYOV/XrK
         /XQgdu5seZcCCNEi27bIAEiAnSJub2PBAAlh27FQ6VD8QWmJ5WdWcVh7I8206+uht8HZ
         kQd 
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=B1VE2JymGtQltgaiwtHiuiswHq2Kpmbii0nCYrZB1lI=;
        b=iqLCatIHuXRfrklOXekiXPCBg5wNP7GRa2Noms0GCce/rGiN571ma4x5+8NkWSp4mB
         kGftRgvyiChOeOLlHCaoZsHZqsvNcI3G07wPv1YQg6PTRbLrutvy4eFNGegOJxKmGEoV
         pUtz5awxgDCmSH/kATqyGJZGUXlH+fXx92WWab2X7I8hoUJWrBswrUneCly/rn38avfP
         /rSczWzP6fa20H6xsQAoNQh9lU7kH0cqdimBAiN/GWG2RWcJZcs4yMwfmxURSTCS2OSe
         BMpiqVXNZWCTMUuAzUqIb8PtfecY/K9ir9ooYPV8/kSjnr2oCD+4B9K8bwGYx9ou5DMR
         
X-Gm-Message-State: AG10YOSWpL6t2G9Vxfrz/Epl8dEqPauKXgIb6kXQ4tqfTHjxc5RisdhPQZYwZxotkD2xPQ==
X-Received: by 10.28.184.201 with SMTP id i192mr239120wmf.2.1454101440094;
        Fri, 29 Jan 2016 13:04:00 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.25.155.12 with SMTP id d12ls549102lfe.34.gmail; Fri, 29 Jan
 2016 13:03:58 -0800 (PST)
X-Received: by 10.25.213.134 with SMTP id m128mr4094173lfg.87.1454101438041;
        Fri, 29 Jan 2016 13:03:58 -0800 (PST)
Original-Received: from plane.gmane.org (plane.gmane.org. [80.91.229.3])
        by mx.google.com with ESMTPS id o10si8990570lfb.91.2016.01.29.13.03.57
        for <std-proposals@isocpp.org>
        (version=TLS1 cipher=AES128-SHA bits=128/128);
        Fri, 29 Jan 2016 13:03:57 -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 1aPGCw-0000Sj-F5
	for std-proposals@isocpp.org; Fri, 29 Jan 2016 22:03:54 +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>; Fri, 29 Jan 2016 22:03:54 +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>; Fri, 29 Jan 2016 22:03:54 +0100
X-Injected-Via-Gmane: http://gmane.org/
Original-Lines: 22
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: <CADvuK0JzXRaw1-m5k0_Lh8O0H9tUoZa3fWVxYuatRABjB_sChA@mail.gmail.com>
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:24078
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/24078>

On 2016-01-29 14:20, Arthur O'Dwyer wrote:
> Having said all that, this "postfix twiddle means std::get<> (and/or 
> std::tuple_element_t<>)" thing still feels too ad-hoc to me. If we
> could come up with a nice syntax for it, I'd prefer to have the
> std::get<> written out and just build a simple syntax for getting a 
> parameter-pack of *integer indices*.

Ugh, please no :-). I'm already not happy about writing:

  auto t = get_tuple_like();
  foo(t~...); // or whatever; I still don't like '~'

If I have to write:

  foo(get<MAGIC...>(t));

....instead (for presumably some not-very-short spelling of "MAGIC"
likely involving a `decltype(t)`), I am not going to be happy. And I am
also going to think we have entirely missed the point.

-- 
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/.

.
