220 7799 <0568592a-2a34-4bdd-9b51-84e8931499e2@isocpp.org> article
Path: news.gmane.org!not-for-mail
From: Daryle Walker <darylew@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Re: Proposal to add C99 designated initializers to C++
Date: Sun, 17 Nov 2013 09:11:02 -0800 (PST)
Lines: 110
Approved: news@gmane.org
Message-ID: <0568592a-2a34-4bdd-9b51-84e8931499e2@isocpp.org>
References: <a54ba091-3aeb-4fd5-b55e-584571f4e746@isocpp.org>
 <2bc88f8b-9059-4b36-ab81-e59a725350fb@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/alternative; 
	boundary="----=_Part_1999_26009333.1384708262741"
X-Trace: ger.gmane.org 1384708368 11931 80.91.229.3 (17 Nov 2013 17:12:48 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Sun, 17 Nov 2013 17:12:48 +0000 (UTC)
To: std-proposals@isocpp.org
Original-X-From: std-proposals+bncBDS6X4FNQMPBBJ7RUOKAKGQEBEB57BY@isocpp.org Sun Nov 17 18:12:55 2013
Return-path: <std-proposals+bncBDS6X4FNQMPBBJ7RUOKAKGQEBEB57BY@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-ie0-f197.google.com ([209.85.223.197])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBDS6X4FNQMPBBJ7RUOKAKGQEBEB57BY@isocpp.org>)
	id 1Vi5u2-0004LU-I2
	for gclcip-std-proposals@m.gmane.org; Sun, 17 Nov 2013 18:12:54 +0100
Original-Received: by mail-ie0-f197.google.com with SMTP id e14sf285672iej.4
        for <gclcip-std-proposals@m.gmane.org>; Sun, 17 Nov 2013 09:12:53 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=date:from:to:message-id:in-reply-to:references:subject:mime-version
         :x-original-sender:reply-to:precedence:mailing-list:list-id
         :list-post:list-help:list-archive:list-subscribe:list-unsubscribe
         :content-type;
        bh=8A8tJ9P/eD47iZru/vOsYrLn4UBzB4IamYMfxG6fHUQ=;
        b=FbS4GqpdpahH1Q626fVdsVgKHx889zubB3U89IOD2ypcQGkawyEvH+7veRHA3r2vrB
         t83QQt6p3rpo7DXR+zxvrMqdcCBXV7H6gWrw16wVUPOIuiRIVzLB2vmQ2bH5VmpheFrX
         hsrhNHzbp6HNXGs6ns1vrU3htIGRF5IN+amtZriQklenffR7cdI4FKnIZKY0PY8BlCh2
         KTPZNOrct7FdetoA/t/c7owC1vhU41rse+kLZe9tbOBlrvlc5EhhZVgM4VWELDthvTMR
         OFfPpgJuqa/96Q+At0/flAuIY+aXqJv/8etGzR/USfGC88YswLXgfsJft/qsmqht1uDy
         t9vw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:date:from:to:message-id:in-reply-to:references
         :subject:mime-version:x-original-sender:reply-to:precedence
         :mailing-list:list-id:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe:content-type;
        bh=8A8tJ9P/eD47iZru/vOsYrLn4UBzB4IamYMfxG6fHUQ=;
        b=D11nQ4Y3F9Kdb6BEnY5rIQeo8Tx6Iy6fFey6V/HwgPIRB05psPOovl8kao5Clh7hQT
         aXX+rVfSn2vP++Z7RCtQ3Czm1YCW7f/+fGlrLugJ+AOpr8CZEkUYt4wWs804hVYkf0Ct
         PWxSaThWTg+t2PF3Hf5wGj8qZkqdOZppppOQetmalstrXiZS/LkHVbJLDO2HN8TcsuaU
         O8NVrvkeJDouZal2YjzqcD04pCm+IAbzpBQoJ7I+mItfAztMABg7qN2jpq7LF1jQP6rq
         JsBzsl972DqtWIgynWN1jUWW+Ua0//CmK6Bl7cunyUHwxBk8EBrXE5OA0vK0phvp4tBT
         er3Q==
X-Gm-Message-State: ALoCoQkDxaqLoA+Fo6ukDWh1adlI2Y5R7y+4VCVrQVLhvs3Qcrdpb3bOpAgSFfoLifVGzm5XSuB6
X-Received: by 10.182.88.200 with SMTP id bi8mr41296obb.43.1384708373016;
        Sun, 17 Nov 2013 09:12:53 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.182.128.130 with SMTP id no2ls1249033obb.88.gmail; Sun, 17 Nov
 2013 09:11:03 -0800 (PST)
X-Received: by 10.182.72.225 with SMTP id g1mr160907obv.7.1384708263256;
        Sun, 17 Nov 2013 09:11:03 -0800 (PST)
In-Reply-To: <2bc88f8b-9059-4b36-ab81-e59a725350fb@isocpp.org>
X-Original-Sender: darylew@gmail.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: <http://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <http://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <http://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:std-proposals+subscribe@isocpp.org>
List-Unsubscribe: <http://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:7799
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/7799>

------=_Part_1999_26009333.1384708262741
Content-Type: text/plain; charset=ISO-8859-1

I uploaded a third version (2013-Nov-17)<http://htmlpreview.github.io/?https://raw.github.com/CTMacUser/multiarray-iso-proposal/master/designation-proposal.html>. 
I shortened at lot of the prose about which sub-objects can be targeted and 
how to find the target object for a given initializer into two huge 
paragraphs, and they're more integrated. I got rid of some of my more 
clunky terms, plus "brace elision." I hope you can understand the text that 
replaces the brace elision idea.

On Thursday, November 14, 2013 5:57:10 AM UTC-5, Daryle Walker wrote:
>
> I uploaded a new version (2013-Nov-14)<http://htmlpreview.github.io/?https://raw.github.com/CTMacUser/multiarray-iso-proposal/master/designation-proposal.html>. 
> I completely redid the new paragraphs. I went beyond paragraph 4 of section 
> 8.5.1 and covered the entire section. Am I justified in removing the 
> sections I suggested? Should the ones I didn't mention be altered? What 
> about 8.5.1/8? Is 8.5.1/I took much of a ripoff of 8.5.4/4?
>
> I added changes to sections 8.5.4 and 14.5.3, but I don't know if those 
> are good enough. And what about 8.5.1/8?
>
> I need more examples, especially ones that replace that deleted ones. 
> (Make sure to mention which new section/paragraph they go with.)
>
> On Friday, November 8, 2013 5:48:15 AM UTC-5, Daryle Walker wrote:
>>
>> [Excuse any mistakes from me doing an all-nighter to get this proposal 
>> out here.]
>>
>> I made a proposal<http://htmlpreview.github.io/?https://raw.github.com/CTMacUser/multiarray-iso-proposal/master/designation-proposal.html>on how to have C99's designated initializers in C++. In C, you can precede 
>> an initializer inside a struct/union or array aggregate with the access 
>> method ([x] for array elements, ".Whatever" for structs and unions, and can 
>> mix & match) to get to a specific subobject to be initialized. I had to 
>> create the text nearly from scratch since C and C++ use very different ways 
>> to express the same concepts. Plus C++ has to worry about non-dumb classes.
>>
>> I'd especially like if the crew for Microsoft Visual Studio 2013 took a 
>> look to see if I described your practice correctly.
>>
>> Daryle W.
>>
>>

-- 

--- 
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 http://groups.google.com/a/isocpp.org/group/std-proposals/.

------=_Part_1999_26009333.1384708262741
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">I uploaded a <a href=3D"http://htmlpreview.github.io/?http=
s://raw.github.com/CTMacUser/multiarray-iso-proposal/master/designation-pro=
posal.html">third version (2013-Nov-17)</a>. I shortened at lot of the pros=
e about which sub-objects can be targeted and how to find the target object=
 for a given initializer into two huge paragraphs, and they're more integra=
ted. I got rid of some of my more clunky terms, plus "brace elision." I hop=
e you can understand the text that replaces the brace elision idea.<br><br>=
On Thursday, November 14, 2013 5:57:10 AM UTC-5, Daryle Walker wrote:<block=
quote class=3D"gmail_quote" style=3D"margin: 0px 0px 0px 0.8ex; padding-lef=
t: 1ex; border-left-color: rgb(204, 204, 204); border-left-width: 1px; bord=
er-left-style: solid;"><div dir=3D"ltr">I uploaded a <a href=3D"http://html=
preview.github.io/?https://raw.github.com/CTMacUser/multiarray-iso-proposal=
/master/designation-proposal.html" target=3D"_blank">new version (2013-Nov-=
14)</a>. I completely redid the new paragraphs. I went beyond paragraph 4 o=
f section 8.5.1 and covered the entire section. Am I justified in removing =
the sections I suggested? Should the ones I didn't mention be altered? What=
 about 8.5.1/8? Is 8.5.1/I took much of a ripoff of 8.5.4/4?<br><br>I added=
 changes to sections 8.5.4 and 14.5.3, but I don't know if those are good e=
nough. And what about 8.5.1/8?<br><br>I need more examples, especially ones=
 that replace that deleted ones. (Make sure to mention which new section/pa=
ragraph they go with.)<br><br>On Friday, November 8, 2013 5:48:15 AM UTC-5,=
 Daryle Walker wrote:<blockquote class=3D"gmail_quote" style=3D"margin: 0px=
 0px 0px 0.8ex; padding-left: 1ex; border-left-color: rgb(204, 204, 204); b=
order-left-width: 1px; border-left-style: solid;"><div dir=3D"ltr"><div>[Ex=
cuse any mistakes from me doing an all-nighter to get this proposal out her=
e.]</div><div><br></div><div>I made a <a href=3D"http://htmlpreview.github.=
io/?https://raw.github.com/CTMacUser/multiarray-iso-proposal/master/designa=
tion-proposal.html" target=3D"_blank">proposal</a> on how to have C99's des=
ignated initializers in C++. In C, you can precede an initializer inside a =
struct/union or array aggregate with the access method ([x] for array eleme=
nts, ".Whatever" for structs and unions, and can mix &amp; match) to get to=
 a specific subobject to be initialized. I had to create the text nearly fr=
om scratch since C and C++ use&nbsp;very different ways to express the same=
 concepts. Plus C++ has to worry about non-dumb classes.</div><div><br></di=
v><div>I'd especially like if the crew for Microsoft Visual Studio 2013 too=
k a look to see if I described your practice correctly.</div><div><br></div=
><div>Daryle W.</div><div><br></div></div></blockquote></div></blockquote><=
/div>

<p></p>

-- <br />
&nbsp;<br />
--- <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 std-proposals+unsubscribe@isocpp.org.<br />
To post to this group, send email to std-proposals@isocpp.org.<br />
Visit this group at <a href=3D"http://groups.google.com/a/isocpp.org/group/=
std-proposals/">http://groups.google.com/a/isocpp.org/group/std-proposals/<=
/a>.<br />

------=_Part_1999_26009333.1384708262741--

.
