220 24016 <n85lg5$3jl$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: Mon, 25 Jan 2016 12:20:05 -0500
Lines: 35
Approved: news@gmane.org
Message-ID: <n85lg5$3jl$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>	<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>
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 1453742425 6836 80.91.229.3 (25 Jan 2016 17:20:25 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Mon, 25 Jan 2016 17:20:25 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBC37LBFWUIFBBTVSTG2QKGQEKG676MY@isocpp.org Mon Jan 25 18:20:16 2016
Return-path: <std-proposals+bncBC37LBFWUIFBBTVSTG2QKGQEKG676MY@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-lb0-f198.google.com ([209.85.217.198])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBC37LBFWUIFBBTVSTG2QKGQEKG676MY@isocpp.org>)
	id 1aNkoJ-0005HF-JR
	for gclcip-std-proposals@m.gmane.org; Mon, 25 Jan 2016 18:20:15 +0100
Original-Received: by mail-lb0-f198.google.com with SMTP id zr1sf46808289lbb.1
        for <gclcip-std-proposals@m.gmane.org>; Mon, 25 Jan 2016 09:20:15 -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=qbAPe7Nv8POcF2etegHvKbhNA2l/a19kTCOhmpl+q0k=;
        b=wg011XsQjqNTWVJrBZhre+Nw5TIwy8r1jN/oi6MsB/rQd7zqFnvnxXNcbhXYRzcE15
         ZlSoQ8sPM8R5L9l0cWmxgHIpS3y4gOSDGp0KNJJYNgvbgEW/dw2Hu9KYp+ivrvzAju19
         VmlUPv36RyenuvF+vpXq2eBzeoNEPjDlSZLEQiXtteJkjGPkZhcMWQ4hCS3W3VwCerkS
         C6I3KFwhj7fbF50tjBUVe74hDxtOeQelh2JusnzAjUCD2Kcra6Dcp2t3J5c2kdptz5gI
         lHiX2THmkKXZKoucEwKcqmQMqLJUV795TIRcoFmaO/tg1zJ4vkTQJ7Yexuqb5C7WcP3S
         uH2 
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=qbAPe7Nv8POcF2etegHvKbhNA2l/a19kTCOhmpl+q0k=;
        b=HYXHgUW9TlAEKau2c4vdPwqho/6+hPdStTYpibkggkcx2NSy8Pj8D9I6Su5ONDaDpv
         qwX7OQ8WRFvJRW7o8eMle0k543sIw/nRS9A6yK9uxoJoYEsgxzY2SxZCebkjRGnzOr1z
         CWiIyhnYTaa2kKfUDfGLPCrSIYPag/WGIJQUdfhpzjDu/YmPKtnzBTJB6hbfwZfdkoq6
         uA9BiEIr0lDtlN+FIKPghCXANCRP+duvoGVS4RV4iyFp0lua5iRS4o9BAtybsVk6j70G
         W3tQxNotNLPFJ48Kq0iupx9mZtSbQL+RQHZrFQsWyGY7gKvM+KbuIqrgIhK2JyEtYjrM
         
X-Gm-Message-State: AG10YOTRr49Wa+/vXA6/Pj/yBxDUbCBStxZOuNfgR/nruFSI0CO9nQ/wIO0ExTBnaczIgA==
X-Received: by 10.112.138.98 with SMTP id qp2mr2343166lbb.4.1453742415235;
        Mon, 25 Jan 2016 09:20:15 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.25.87.194 with SMTP id l185ls468144lfb.96.gmail; Mon, 25 Jan
 2016 09:20:13 -0800 (PST)
X-Received: by 10.25.83.209 with SMTP id h200mr7003142lfb.129.1453742413419;
        Mon, 25 Jan 2016 09:20:13 -0800 (PST)
Original-Received: from plane.gmane.org (plane.gmane.org. [80.91.229.3])
        by mx.google.com with ESMTPS id dw8si10338994lbc.59.2016.01.25.09.20.13
        for <std-proposals@isocpp.org>
        (version=TLS1 cipher=AES128-SHA bits=128/128);
        Mon, 25 Jan 2016 09:20:13 -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 1aNkoG-0005F2-BL
	for std-proposals@isocpp.org; Mon, 25 Jan 2016 18:20:12 +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>; Mon, 25 Jan 2016 18:20:12 +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>; Mon, 25 Jan 2016 18:20:12 +0100
X-Injected-Via-Gmane: http://gmane.org/
Original-Lines: 26
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: <CAFk2RUbp=SEBZa_T+KUDqOiEt0T-jid4MxkuLJQK=_=_g3pPng@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:24016
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/24016>

On 2016-01-25 11:25, Ville Voutilainen wrote:
> On 25 January 2016 at 17:32, Matthew Woehlke <mwoehlke.floss@gmail.com> wrote:
>> But if that's the case, then what's the problem here? Arthur originally
>> said:
>>
>> On 2016-01-20 18:13, Arthur O'Dwyer wrote:
>>> would [mpl::vector] *not* be "tuple-like" because you couldn't use
>>> std::get<I> on it at runtime?
>>
>> ...but then, I don't understand why that would be true?
>>
>> Back to that question, yes, the idea as I understand it is that
>> "tuple-like" <=> "can use get<N>". Why is that an issue?
> 
> 
> mpl::vector is a container of types, not values. get<N> is a value-getter.

Ah. Um... how would you then *use* an mpl::vector in any context that
you would use a tuple-like? A std::tuple is certainly a value
collection. By extension, a tuple-like is also a value collection.

So... different premise, but same question; is there a problem here (and
if so, why)?

-- 
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/.

.
