220 34163 <1762295.OciJaA9sdk@tjmaciei-mobl1> article
Path: news.gmane.org!.POSTED!not-for-mail
From: Thiago Macieira <thiago@macieira.org>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Re: Idea: Extension of structured bindings to
 definition of structs
Date: Sat, 26 Aug 2017 21:11:07 -0700
Lines: 22
Approved: news@gmane.org
Message-ID: <1762295.OciJaA9sdk@tjmaciei-mobl1>
References: <59dcbbbc-c536-4b7b-9c88-0638fb0cd58a@technion.ac.il> <7b9bf263-d3ca-42bf-aed6-4c7606782a28@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 1503807077 4586 195.159.176.226 (27 Aug 2017 04:11:17 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Sun, 27 Aug 2017 04:11:17 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBCB4TK757YBRBX4MRHGQKGQE2XAVOQA@isocpp.org Sun Aug 27 06:11:12 2017
Return-path: <std-proposals+bncBCB4TK757YBRBX4MRHGQKGQE2XAVOQA@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-lf0-f70.google.com ([209.85.215.70])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBCB4TK757YBRBX4MRHGQKGQE2XAVOQA@isocpp.org>)
	id 1dloug-0000bQ-2y
	for gclcip-std-proposals@m.gmane.org; Sun, 27 Aug 2017 06:11:06 +0200
Original-Received: by mail-lf0-f70.google.com with SMTP id y128sf3177448lfd.6
        for <gclcip-std-proposals@m.gmane.org>; Sat, 26 Aug 2017 21:11:13 -0700 (PDT)
ARC-Seal: i=2; a=rsa-sha256; t=1503807073; cv=pass;
        d=google.com; s=arc-20160816;
        b=rphQ0f9PF7jwQFerHN+DRXfJ1B6XUSwIvGiWVIbGkM78oaotZOGKGBoex1vg/V3Oa7
         yGd5KDCVdMb+atrEY23MePtIJ7A1sP3qWqdBuK1FxkzvWckSXnA7duJ0P1TDSitsndgr
         avvRZcjWEopWb8aKHdDTG8talj3DYL7+5/WMIPowEfBcyagpm3qFRN1LcNFzgSkH+5tl
         jDIImZdHb+AlVuScn9B9MF/jL3HzI9BMsT+dLADbj8wUFbFlSLMlryHqDZt/+csLzVjk
         MYnd8bqOkyLLg/IM1rNBFlRXSTaK3OybqB+TFDpM7/4QmisklQ+MrKFX1Z8+9UE/Y90w
         E3Aw==
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:mime-version:references
         :in-reply-to:message-id:date:subject:to:from
         :arc-authentication-results:arc-message-signature:dkim-signature
         :arc-authentication-results;
        bh=SzWowli0u7m7KpfDdhz5Zuim2gugFmTiowC/z5akAPE=;
        b=ls3ydwBf7Oul/MZHMUqiKeS0bmjMK2f0WvLYIqlIJQ7zZjEX32fPqnfSZnZoWqR2Jl
         rC+TWLI/5UzyI47THNizFTAN9Rz7oPe65qCcpa3j3WrPZbGH6/G87UhP+oMLs/uVk0Pz
         ATDjy6JwbMyZD0eLCLALn8dbvc3aT+kwEz8b0ZOiZXeBCk+NJKv6ZOqRmzd6bnBz/oPJ
         cELX20KX1L1yUzQKb4GQMieHewYAe00nWLwYeriIRoFrvvT7jjmvyzby65046GeefwQf
         k5A5UKv/uYfdPHljhpXUFMIRoR8xoeK0LUJClE0FlW0WVC0tMPyCNXcE31Mvv3DvVORK
         +xbA==
ARC-Authentication-Results: i=2; mx.google.com;
       spf=pass (google.com: domain of thiago@macieira.org designates 2a01:4f8:d13:f81:21c:14ff:fe01:12a3 as permitted sender) smtp.mailfrom=thiago@macieira.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=from:to:subject:date:message-id:in-reply-to:references:mime-version
         :x-original-sender:x-original-authentication-results:reply-to
         :precedence:mailing-list:list-id:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=SzWowli0u7m7KpfDdhz5Zuim2gugFmTiowC/z5akAPE=;
        b=cPPdkOeFyHomx3I1CKPN2gQm897kuWTJbKN55RJdqpJdno/fCrZ3eVBhj4M5x66rnf
         U8MQ0Hi+J2uOyIFp4ObrAkzvGyWsDnQaxEOQbaK99GtMx4lMPQLHCK8tG6zZ4TK6faOX
         mV+TieLmsOdOXoJg7bwi67sR1ra/xBGn66/0yEHYNq7DQRWcv+c7wABMY8Fz30Dhaqor
         lU3/9O98uCJ63Ykph5EUjVCInTVw8RxiPKQFhBLfudc8o7IzHncbfyPpRWEPLdxPEfKT
         cc/sXavNDgTf0mF9DbOmQ4o3svRYZlZyNzbQRlncOklP29ii4jKKe1tD4Rao6WqaxuOa
         DM/A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to
         :references:mime-version: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=SzWowli0u7m7KpfDdhz5Zuim2gugFmTiowC/z5akAPE=;
        b=VCsCmDbOUtirQbskI4sihm9qqzivmUQFxyFDm6ZpEO0bModHWyWobndHo0bos6rkrs
         XktBOQDxxv+vc00K6mm8gR6kIe0wTjB6kLln4vj5sw29rda5RCa3jq9PbOFHUh3p53/Q
         dMxsXiK5gQnNMNWzuBpwf6WCLrgAdjfbiw6YY7Mp0uNDm2tGDNgmz6kedBOrBkEz9oX2
         Qds5AEdPi634e2rGusDWKo1t0EPDwZd6bczB2EsjP9QtAJHhMKcW+2wRxyWHRpfxI69t
         M316YSIepAVJ+0lXwFoPNUO3CybdXr5yBscI6+qB8n8V1AMDjGUXv/NQsVb5UYma8uZo
         Y7gw==
X-Gm-Message-State: AHYfb5hLq8aB97dTDyUWtQzJUCPBUoqf1ToGXh4DvIPvxRato+Lbib8M
	5pDsA3YFvBv/y30C
X-Received: by 10.46.32.81 with SMTP id g78mr174734ljg.10.1503807072962;
        Sat, 26 Aug 2017 21:11:12 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.28.211.210 with SMTP id k201ls754617wmg.25.gmail; Sat, 26 Aug
 2017 21:11:10 -0700 (PDT)
X-Received: by 10.28.18.198 with SMTP id 189mr1410267wms.0.1503807070803;
        Sat, 26 Aug 2017 21:11:10 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1503807070; cv=none;
        d=google.com; s=arc-20160816;
        b=lMLnXZ4taBoYozX6zdasDR1CYlx6gtWT304bfgGiAIyiP7IZNF5l5cGEeitv8ibkAi
         0eIdK8aU+kk7jcOTwbBILIRL1vKLlgKyk9M4JVk8dT2fn8yySQ+lWrMwEqbes/xbl8mq
         GJUlQgOKCs3gGQEmBsshJdtkWtPJERkajAU/oqFzZHbd69I+r6KmrWgAMHYNm2QO6kXN
         /Xw6p6RC6+x5pyn6xj7jWkVeNytr7IGG/MOnyk0c4RPzughQJ/VqpZ59oZqbIcaeYZBs
         JLLSAUP7bDN+Gn2uEHcETzP3A1miSVXppWWLRRsRvsLvLavq6+6QQSx650u97mSiwoY7
         4Geg==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816;
        h=content-transfer-encoding:mime-version:references:in-reply-to
         :message-id:date:subject:to:from:arc-authentication-results;
        bh=VPNOEoHCHBsbiVPgCDC2SpqdBR3Airc6zprE/jNoL7g=;
        b=ivfgDS6Mc9xjY6qg19g2idJxWcYTmScSAi6fMApRTKGcVBzHiF7g8EmCbDZy+bRi7G
         RdgrHaSiXUeF0n10H7ZVdwSQOKJJeC5uNorOvhD6U+bA9oLjBzpu8mccOnbzPGKwp1ny
         4T+CFwx/+yXexMxVHPybIEps3LSN8DcLIfqZFOkpgnse9XZFu8BxeYcGeM8wBqfHPf+L
         bD1ekiSWiMFHyuaOPG4WA/5sGHo9J5/f1GqvdtSDWwrVJWchciMmKuUeYjvcGnKVd5bi
         V25OaIYiu//K3trR0IqIpQt6bum9nAVlMDlddnvGJR8dRTGXLxmWAlOYNT5CyrDFShne
         QYAw==
ARC-Authentication-Results: i=1; mx.google.com;
       spf=pass (google.com: domain of thiago@macieira.org designates 2a01:4f8:d13:f81:21c:14ff:fe01:12a3 as permitted sender) smtp.mailfrom=thiago@macieira.org
Original-Received: from gondolin.macieira.info (gondolin.macieira.info. [2a01:4f8:d13:f81:21c:14ff:fe01:12a3])
        by mx.google.com with ESMTP id 82si174337wmp.254.2017.08.26.21.11.10
        for <std-proposals@isocpp.org>;
        Sat, 26 Aug 2017 21:11:10 -0700 (PDT)
Received-SPF: pass (google.com: domain of thiago@macieira.org designates 2a01:4f8:d13:f81:21c:14ff:fe01:12a3 as permitted sender) client-ip=2a01:4f8:d13:f81:21c:14ff:fe01:12a3;
Original-Received: from tjmaciei-mobl1.localnet (unknown [IPv6:2601:1c0:4501:5f9f:1158:b8d6:f80c:6338])
	by gondolin.macieira.info (Postfix) with ESMTPSA id 7F73D11B865
	for <std-proposals@isocpp.org>; Sat, 26 Aug 2017 21:11:09 -0700 (PDT)
In-Reply-To: <7b9bf263-d3ca-42bf-aed6-4c7606782a28@isocpp.org>
X-Original-Sender: thiago@macieira.org
X-Original-Authentication-Results: mx.google.com;       spf=pass (google.com:
 domain of thiago@macieira.org designates 2a01:4f8:d13:f81:21c:14ff:fe01:12a3
 as permitted sender) smtp.mailfrom=thiago@macieira.org
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:34163
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/34163>

On Saturday, 26 August 2017 18:08:11 PDT Nicol Bolas wrote:
> I have a tuple. Why would I not just *use the tuple*?

Because tuples are horrible. From
	https://www.kdab.com/tuple-pair-cpp-apis/

"Quick: When you design C++ APIs, when and how should you use pair and tuple?
The answer is as simple as it is surprising: Never. Ever."

And yet some people will. So when interacting with those API, you need to 
"correct" it with proper names.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center

-- 
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/1762295.OciJaA9sdk%40tjmaciei-mobl1.

.
