220 28539 <03b1942d-6e9d-849f-2dd9-b127bad1854e@Stroustrup.com> article
Path: news.gmane.org!.POSTED!not-for-mail
From: Bjarne Stroustrup <bjarne@stroustrup.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: A plea to reconsider adding Structured Bindings
 to language
Date: Wed, 5 Oct 2016 12:30:28 -0400
Lines: 88
Approved: news@gmane.org
Message-ID: <03b1942d-6e9d-849f-2dd9-b127bad1854e@Stroustrup.com>
References: <201610051238.17863.marc.mutz@kdab.com>
 <adffa9c0-2c7a-4d98-8fc3-2e787109b858@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: blaine.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative;
 boundary="------------B311E0158E739889F70086AA"
X-Trace: blaine.gmane.org 1475685047 1810 195.159.176.226 (5 Oct 2016 16:30:47 GMT)
X-Complaints-To: usenet@blaine.gmane.org
NNTP-Posting-Date: Wed, 5 Oct 2016 16:30:47 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101
 Thunderbird/45.4.0
Cc: hsutter@microsoft.com, gdr@microsoft.com
To: Nicol Bolas <jmckesson@gmail.com>,
 ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBDDP5YUK74KBBJOV2S7QKGQE56RANXY@isocpp.org Wed Oct 05 18:30:41 2016
Return-path: <std-proposals+bncBDDP5YUK74KBBJOV2S7QKGQE56RANXY@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-qk0-f200.google.com ([209.85.220.200])
	by blaine.gmane.org with esmtp (Exim 4.84_2)
	(envelope-from <std-proposals+bncBDDP5YUK74KBBJOV2S7QKGQE56RANXY@isocpp.org>)
	id 1brp5Q-0006aY-7X
	for gclcip-std-proposals@m.gmane.org; Wed, 05 Oct 2016 18:30:28 +0200
Original-Received: by mail-qk0-f200.google.com with SMTP id n189sf15232366qke.0
        for <gclcip-std-proposals@m.gmane.org>; Wed, 05 Oct 2016 09:30:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=from:subject:to:references:cc:message-id:date:user-agent
         :mime-version: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=APaSOscN9Yo8yEJRpRj0n72ToHsBG15xd98+bRGB0M4=;
        b=et1L3yN7WA0wO7Cmy6pYJelHUqYXHNAqB0CPyCY1mfuaEaWHdhJQa/OOuTONs/uHrZ
         WKyNG8t8Z+ShLkpOmQN+Se2LGMMUGKXUfP0GuHQbiJxXQXOwgjogW5I1NvcQdoYtAYsO
         ZclxoJhJFwAYYEFv8TQoMvMuTxX31wU7HUPFgObX1r3mbVInj8NPpAMxP1/5DTgFs/RW
         v2+0qSrQ7Cv1aJ0we4EQUAVlOSsrXUZrKr+k8Fa26wA5hXGlY8YTZFE1/96IEHjDisEo
         jB8exhDvOUnpUQOBa+ZoT2Qi9Fut5uzGvBwV3ZeRECzz8nadUnDjqUMmquQBRvAwAnBS
         3OSA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:from:subject:to:references:cc:message-id:date
         :user-agent:mime-version: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=APaSOscN9Yo8yEJRpRj0n72ToHsBG15xd98+bRGB0M4=;
        b=jWPock0q5JFnmsanh4oyho5ANCkw57F0kxilXgyMyRBmA4tpIngPOx+qc/y3a9Rntm
         NUMiXB0/5I+j/yX+hkfUbOOmsxhJt1KXbL6ZLmtr8clx2zFEqsv7HVS1wa/H+m2DRXTI
         iPVK9tbiMXP3HhA6J4rYitXuuIhsGIOAU3cawRnQ5LbKbfjjcnj3rP1n1c7HPfN/2xwP
         3+a8NEGy/i6+8OofXAsaX3L/iwpcuvytEi3ZSNjqciC8SBQ0s8cEpZECVZfvo6dQmKjt
         UlhgSxFZBg8OlTqD1y1gJ6V7aLZLZkgPrcnNefIT/Idb7XVxEWwxFWdmcmpd+WHIu1Ct
         4kiw==
X-Gm-Message-State: AA6/9RkqSqjtrMFM3noCBlPjORFgn5DPWFTsXDSldaTEBAPI4Yd8mYOMZjxgpmC/5vC4ZQ==
X-Received: by 10.200.36.41 with SMTP id c38mr32192qtc.21.1475685030095;
        Wed, 05 Oct 2016 09:30:30 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.157.32.200 with SMTP id x66ls1128725ota.40.gmail; Wed, 05 Oct
 2016 09:30:29 -0700 (PDT)
X-Received: by 10.233.237.145 with SMTP id c139mr9491054qkg.29.1475685029177;
        Wed, 05 Oct 2016 09:30:29 -0700 (PDT)
Original-Received: from mail-qk0-x22c.google.com (mail-qk0-x22c.google.com. [2607:f8b0:400d:c09::22c])
        by mx.google.com with ESMTPS id d12si16489817qtc.70.2016.10.05.09.30.29
        for <std-proposals@isocpp.org>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Wed, 05 Oct 2016 09:30:29 -0700 (PDT)
Received-SPF: neutral (google.com: 2607:f8b0:400d:c09::22c is neither permitted nor denied by best guess record for domain of bjarne@stroustrup.com) client-ip=2607:f8b0:400d:c09::22c;
Original-Received: by mail-qk0-x22c.google.com with SMTP id j129so215642075qkd.1
        for <std-proposals@isocpp.org>; Wed, 05 Oct 2016 09:30:29 -0700 (PDT)
X-Received: by 10.55.156.22 with SMTP id f22mr11038766qke.36.1475685028885;
        Wed, 05 Oct 2016 09:30:28 -0700 (PDT)
Original-Received: from [192.168.10.32] ([138.20.184.130])
        by smtp.googlemail.com with ESMTPSA id h22sm1782918qtb.32.2016.10.05.09.30.28
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Wed, 05 Oct 2016 09:30:28 -0700 (PDT)
In-Reply-To: <adffa9c0-2c7a-4d98-8fc3-2e787109b858@isocpp.org>
X-Original-Sender: bjarne@stroustrup.com
X-Original-Authentication-Results: mx.google.com;       dkim=pass
 header.i=@stroustrup-com.20150623.gappssmtp.com;       spf=neutral
 (google.com: 2607:f8b0:400d:c09::22c is neither permitted nor denied by best
 guess record for domain of bjarne@stroustrup.com) smtp.mailfrom=bjarne@stroustrup.com
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:28539
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/28539>

This is a multi-part message in MIME format.
--------------B311E0158E739889F70086AA
Content-Type: text/plain; charset=UTF-8; format=flowed



On 10/5/2016 12:14 PM, Nicol Bolas wrote:
> On Wednesday, October 5, 2016 at 6:36:35 AM UTC-4, Marc Mutz wrote:
>
>     Hi Herb, Bjarne, Gabriel,
>     ...
>
>
> Structured binding is hardly the first C++ feature that makes struct 
> field ordering important. Aggregate initialization did that long 
> before. If you "reorder fields to fill padding holes" on an interface 
> structure, then you've broken any code that used aggregate 
> initialization on that type.
Good point. It has been like this since 1974 or so.

....

-- 
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/03b1942d-6e9d-849f-2dd9-b127bad1854e%40Stroustrup.com.

--------------B311E0158E739889F70086AA
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<html>
  <head>
    <meta content=3D"text/html; charset=3Dutf-8" http-equiv=3D"Content-Type=
">
  </head>
  <body bgcolor=3D"#FFFFFF" text=3D"#000000">
    <p><br>
    </p>
    <br>
    <div class=3D"moz-cite-prefix">On 10/5/2016 12:14 PM, Nicol Bolas
      wrote:<br>
    </div>
    <blockquote
      cite=3D"mid:adffa9c0-2c7a-4d98-8fc3-2e787109b858@isocpp.org"
      type=3D"cite">
      <div dir=3D"ltr">On Wednesday, October 5, 2016 at 6:36:35 AM UTC-4,
        Marc Mutz wrote:
        <blockquote class=3D"gmail_quote" style=3D"margin: 0;margin-left:
          0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">Hi Herb,
          Bjarne, Gabriel,
          <br>
          ...<br>
        </blockquote>
        <div><br>
          Structured binding is hardly the first C++ feature that makes
          struct field ordering important. Aggregate initialization did
          that long before. If you "reorder fields to fill padding
          holes" on an interface structure, then you've broken any code
          that used aggregate initialization on that type.<br>
        </div>
      </div>
    </blockquote>
    Good point. It has been like this since 1974 or so.<br>
    <br>
    ...<br>
  </body>
</html>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:std-proposals+unsubscribe@isocpp.org">std-proposa=
ls+unsubscribe@isocpp.org</a>.<br />
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org">std-proposals@isocpp.org</a>.<br />
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/a/isocpp.org/d/msgid/std-proposals/03b1942d-6e9d-849f-2dd9-b127bad1854e%=
40Stroustrup.com?utm_medium=3Demail&utm_source=3Dfooter">https://groups.goo=
gle.com/a/isocpp.org/d/msgid/std-proposals/03b1942d-6e9d-849f-2dd9-b127bad1=
854e%40Stroustrup.com</a>.<br />

--------------B311E0158E739889F70086AA--

.
