220 24874 <e85c46fd-5e5c-4e43-86ae-978da17cda0c@isocpp.org> article
Path: news.gmane.org!not-for-mail
From: NeoCode <neoprogramming@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Go-like embedding
Date: Wed, 2 Mar 2016 05:27:30 -0800 (PST)
Lines: 255
Approved: news@gmane.org
Message-ID: <e85c46fd-5e5c-4e43-86ae-978da17cda0c@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_449_579399996.1456925250415"
X-Trace: ger.gmane.org 1456925255 8152 80.91.229.3 (2 Mar 2016 13:27:35 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Wed, 2 Mar 2016 13:27:35 +0000 (UTC)
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBD3J5LU7U4OBBQ6U3O3AKGQENN5P7CY@isocpp.org Wed Mar 02 14:27:34 2016
Return-path: <std-proposals+bncBD3J5LU7U4OBBQ6U3O3AKGQENN5P7CY@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-vk0-f69.google.com ([209.85.213.69])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBD3J5LU7U4OBBQ6U3O3AKGQENN5P7CY@isocpp.org>)
	id 1ab6oP-0001G1-N4
	for gclcip-std-proposals@m.gmane.org; Wed, 02 Mar 2016 14:27:34 +0100
Original-Received: by mail-vk0-f69.google.com with SMTP id e6sf334803302vkh.0
        for <gclcip-std-proposals@m.gmane.org>; Wed, 02 Mar 2016 05:27:33 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=date:from:to:message-id:subject:mime-version:x-original-sender
         :reply-to:precedence:mailing-list:list-id:x-spam-checked-in-group
         :list-post:list-help:list-archive:list-subscribe:list-unsubscribe;
        bh=3sFOc7k52abC6UpRHzuKiUKDS3dCoGdv3piuyQmt/Yo=;
        b=s6A8bS3Ym8yXhoLGkBzG9dHVL48jGxOgECDQrtFOXuSvqkDzUpHMDMZPX/yZW6d0GJ
         wY+R6Z2tDND7w4rUbaWe1pEPLVswJlq3U89geMTi/1I/+pisJMLQryX/d3yn2+Jd49z9
         8M2YfQcwtAWLFAp0ZBrXWvGq3lxCDgGSyE7MGIP5XuhK6ibtPcqXy5YtV4YQAcUFTzlN
         XgueUOpaThZsZcUzaBehoiMOZGQifZYFKxzm/KMDpYfq38Gx3vX4xdOFYkFl8thFSgb1
         v0BNUVSI4aI02WRlKo6QcmoDCrcwWd4iJ3LcU9xGlAyHqFEeFRLequiB+3Kt0hiHOt58
         Fq/A==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=date:from:to:message-id:subject:mime-version:x-original-sender
         :reply-to:precedence:mailing-list:list-id:x-spam-checked-in-group
         :list-post:list-help:list-archive:list-subscribe:list-unsubscribe;
        bh=3sFOc7k52abC6UpRHzuKiUKDS3dCoGdv3piuyQmt/Yo=;
        b=xN6yErd8cv/fNMOnZMjZ+Ofb4lsBiw52zL7o0uog+TpMCqDhuyjpCSlebo4xTD5w62
         qL5pp5YUBg02PkaFDGHDTztY38jFbKo1U5XRdt5CBhjse6Ogqb8wyICrPEZq0AXxYcUB
         tnRAp/gLU6k/y5+kz/AlRG/3/R4Oujtld7SO6OmRrsnoFlIY+S8f3s+xZmdQLb28K4Xe
         f3DHn9GIFCl823OdeGwy6gZ7C1xrgpXcquhX28jsRTXFQM+cybrgC9r25csUcPCAk2H4
         wLmuK6wZtMdN0bOXKM0hTZ2zW0B2GiPnmOpA/OWDXr1Kzdk6A17zvmDmlAG7oN+AxTWa
         0u+A==
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:subject:mime-version
         :x-original-sender:reply-to:precedence:mailing-list:list-id
         :x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=3sFOc7k52abC6UpRHzuKiUKDS3dCoGdv3piuyQmt/Yo=;
        b=hmnDJ++xYA7TqVPrWAV0c1tf/AO7VrPan/AItqp0Tz66ry35zMYRzX2DPOKLsI4t+s
         1gWPTuhLc8hNEC2LGAEI20CXFxjt/aFhdQZSUil+6xi8xaBuLDAYg7OH+Dsr1l9tVhuN
         usqWQ7sp4MYFrzPE6sFSmwmdu3lanUEDtRCWs0s6hIgZxBWgvwludeml8DBMNI0IQeFT
         m1/Y6bT33BqNDeceMl/9h+5f6nOPgrIaPJKj8+WQyRlc/iEcFaV1BcJOeygimVgpXOKt
         G+8CL3JMmx7el5B54/wLQFDymTW1X1aBHvjtWlrn1j0dV0qHzmhDnTfVhDSclToQEm6H
         G3QQ==
X-Gm-Message-State: AD7BkJJV3BQIQ9fFf3Ji+PcLmx4JJixHR5uZ5zNHZ3qkY3HxA2Oa8Prr0eQLugAN3ugMcw==
X-Received: by 10.31.151.21 with SMTP id z21mr21117378vkd.7.1456925252758;
        Wed, 02 Mar 2016 05:27:32 -0800 (PST)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.107.165.193 with SMTP id o184ls2036975ioe.1.gmail; Wed, 02 Mar
 2016 05:27:31 -0800 (PST)
X-Received: by 10.50.183.36 with SMTP id ej4mr120948igc.1.1456925251367;
        Wed, 02 Mar 2016 05:27:31 -0800 (PST)
X-Original-Sender: NeoProgramming@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:24874
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/24874>

------=_Part_449_579399996.1456925250415
Content-Type: multipart/alternative; 
	boundary="----=_Part_450_1470392765.1456925250415"

------=_Part_450_1470392765.1456925250415
Content-Type: text/plain; charset=UTF-8

In Go programming language, there is a feature named "emedding", which is 
used instead of classic c++-like inheritance.
For example:

type SmallBox struct {
        a, b, c int
}
type BigBox struct {
        Timestamp time.Time
        SmallBox  // <<< embedding
        Name []string
}

This is very simple and low-level extension of the concept of 
inheritance; the programmer explicitly specifies the location of the base 
object in the successor. It is strange that this simple and obvious 
opportunity not appeared in the C language.

I propose enhanced (compared with Go) feature of such embedding. We can use 
the existing "inline" keyword (or some other keyword, eg. "embed") to 
indicate the embedded fields.

struct SmallBox {
  int a, b, c;
};

struct BigBox {
 time_t Timestamp; 
 inline SmallBox inlinedBox;
 std::string Name;
};

As a result, we can access to the fields of SmallBox both directly and 
through an intermediate name "inlinedBox":

BigBox box;
box.a = 10; //directly, like inheritance
box.inlinedBox.b = 10; // using an intermediate name, like aggregation


-- 
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/e85c46fd-5e5c-4e43-86ae-978da17cda0c%40isocpp.org.

------=_Part_450_1470392765.1456925250415
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">In Go programming language,=C2=A0there is a feature named =
&quot;emedding&quot;,=C2=A0which is used instead of classic c++-like inheri=
tance.<br>For example:<div><br><div><div class=3D"prettyprint" style=3D"bor=
der: 1px solid rgb(187, 187, 187); word-wrap: break-word; background-color:=
 rgb(250, 250, 250);"><code class=3D"prettyprint"><div class=3D"subprettypr=
int"><span class=3D"hljs-keyword" style=3D"font-size: 12px; vertical-align:=
 baseline; outline: 0px; color: rgb(51, 51, 51); font-weight: 700; font-fam=
ily: Menlo, Monaco, &#39;Courier New&#39;, monospace; line-height: 22.39999=
96185303px; white-space: pre-wrap;"><span style=3D"color: #000;" class=3D"s=
tyled-by-prettify">type</span></span><span style=3D"color: rgb(51, 51, 51);=
 font-family: Menlo, Monaco, &#39;Courier New&#39;, monospace; font-size: 1=
2px; line-height: 22.3999996185303px; white-space: pre-wrap; background-col=
or: rgb(248, 248, 248);"><span style=3D"color: #000;" class=3D"styled-by-pr=
ettify"> </span><span style=3D"color: #606;" class=3D"styled-by-prettify">S=
mallBox</span><span style=3D"color: #000;" class=3D"styled-by-prettify"> </=
span></span><span class=3D"hljs-keyword" style=3D"font-size: 12px; vertical=
-align: baseline; outline: 0px; color: rgb(51, 51, 51); font-weight: 700; f=
ont-family: Menlo, Monaco, &#39;Courier New&#39;, monospace; line-height: 2=
2.3999996185303px; white-space: pre-wrap;"><span style=3D"color: #008;" cla=
ss=3D"styled-by-prettify">struct</span></span><span style=3D"color: rgb(51,=
 51, 51); font-family: Menlo, Monaco, &#39;Courier New&#39;, monospace; fon=
t-size: 12px; line-height: 22.3999996185303px; white-space: pre-wrap; backg=
round-color: rgb(248, 248, 248);"><span style=3D"color: #000;" class=3D"sty=
led-by-prettify"> </span><span style=3D"color: #660;" class=3D"styled-by-pr=
ettify">{</span><span style=3D"color: #000;" class=3D"styled-by-prettify"><=
br></span></span><span style=3D"font-family: Menlo, Monaco, &#39;Courier Ne=
w&#39;, monospace; font-size: 12px; line-height: 22.3999996185303px; white-=
space: pre-wrap; background-color: rgb(248, 248, 248);"><span style=3D"colo=
r: #000;" class=3D"styled-by-prettify">=C2=A0 =C2=A0 =C2=A0 =C2=A0 a</span>=
<span style=3D"color: #660;" class=3D"styled-by-prettify">,</span><span sty=
le=3D"color: #000;" class=3D"styled-by-prettify"> b</span><span style=3D"co=
lor: #660;" class=3D"styled-by-prettify">,</span><span style=3D"color: #000=
;" class=3D"styled-by-prettify"> c </span></span><span class=3D"hljs-keywor=
d" style=3D"font-size: 12px; vertical-align: baseline; outline: 0px; color:=
 rgb(51, 51, 51); font-weight: 700; font-family: Menlo, Monaco, &#39;Courie=
r New&#39;, monospace; line-height: 22.3999996185303px; white-space: pre-wr=
ap;"><span style=3D"color: #008;" class=3D"styled-by-prettify">int</span></=
span><span style=3D"color: rgb(51, 51, 51); font-family: Menlo, Monaco, &#3=
9;Courier New&#39;, monospace; font-size: 12px; line-height: 22.39999961853=
03px; white-space: pre-wrap; background-color: rgb(248, 248, 248);"><span s=
tyle=3D"color: #000;" class=3D"styled-by-prettify"><br></span></span><span =
style=3D"color: rgb(51, 51, 51); font-family: Menlo, Monaco, &#39;Courier N=
ew&#39;, monospace; font-size: 12px; line-height: 22.3999996185303px; white=
-space: pre-wrap; background-color: rgb(248, 248, 248);"><span style=3D"col=
or: #660;" class=3D"styled-by-prettify">}</span><span style=3D"color: #000;=
" class=3D"styled-by-prettify"><br></span></span><span class=3D"hljs-keywor=
d" style=3D"font-size: 12px; vertical-align: baseline; outline: 0px; color:=
 rgb(51, 51, 51); font-weight: 700; font-family: Menlo, Monaco, &#39;Courie=
r New&#39;, monospace; line-height: 22.3999996185303px; white-space: pre-wr=
ap;"><span style=3D"color: #000;" class=3D"styled-by-prettify">type</span><=
/span><span style=3D"color: rgb(51, 51, 51); font-family: Menlo, Monaco, &#=
39;Courier New&#39;, monospace; font-size: 12px; line-height: 22.3999996185=
303px; white-space: pre-wrap; background-color: rgb(248, 248, 248);"><span =
style=3D"color: #000;" class=3D"styled-by-prettify"> </span><span style=3D"=
color: #606;" class=3D"styled-by-prettify">BigBox</span><span style=3D"colo=
r: #000;" class=3D"styled-by-prettify"> </span></span><span class=3D"hljs-k=
eyword" style=3D"font-size: 12px; vertical-align: baseline; outline: 0px; c=
olor: rgb(51, 51, 51); font-weight: 700; font-family: Menlo, Monaco, &#39;C=
ourier New&#39;, monospace; line-height: 22.3999996185303px; white-space: p=
re-wrap;"><span style=3D"color: #008;" class=3D"styled-by-prettify">struct<=
/span></span><span style=3D"color: rgb(51, 51, 51); font-family: Menlo, Mon=
aco, &#39;Courier New&#39;, monospace; font-size: 12px; line-height: 22.399=
9996185303px; white-space: pre-wrap; background-color: rgb(248, 248, 248);"=
><span style=3D"color: #000;" class=3D"styled-by-prettify"> </span><span st=
yle=3D"color: #660;" class=3D"styled-by-prettify">{</span><span style=3D"co=
lor: #000;" class=3D"styled-by-prettify"><br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 </=
span></span><span style=3D"color: rgb(51, 51, 51); font-family: Menlo, Mona=
co, &#39;Courier New&#39;, monospace; font-size: 12px; line-height: 22.3999=
996185303px; white-space: pre-wrap; background-color: rgb(248, 248, 248);">=
<span style=3D"color: #606;" class=3D"styled-by-prettify">Timestamp</span><=
span style=3D"color: #000;" class=3D"styled-by-prettify"> time</span><span =
style=3D"color: #660;" class=3D"styled-by-prettify">.</span><span style=3D"=
color: #606;" class=3D"styled-by-prettify">Time</span></span><span style=3D=
"color: rgb(51, 51, 51); font-family: Menlo, Monaco, &#39;Courier New&#39;,=
 monospace; font-size: 12px; line-height: 22.3999996185303px; white-space: =
pre-wrap; background-color: rgb(248, 248, 248);"><span style=3D"color: #000=
;" class=3D"styled-by-prettify"><br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 </span><spa=
n style=3D"color: #606;" class=3D"styled-by-prettify">SmallBox</span><span =
style=3D"color: #000;" class=3D"styled-by-prettify"> =C2=A0</span><span sty=
le=3D"color: #800;" class=3D"styled-by-prettify">// &lt;&lt;&lt; embedding<=
/span><span style=3D"color: #000;" class=3D"styled-by-prettify"><br>=C2=A0 =
=C2=A0 =C2=A0 =C2=A0 </span><span style=3D"color: #606;" class=3D"styled-by=
-prettify">Name</span><span style=3D"color: #000;" class=3D"styled-by-prett=
ify"> </span><span style=3D"color: #660;" class=3D"styled-by-prettify">[]</=
span></span><span class=3D"hljs-keyword" style=3D"font-size: 12px; vertical=
-align: baseline; outline: 0px; color: rgb(51, 51, 51); font-weight: 700; f=
ont-family: Menlo, Monaco, &#39;Courier New&#39;, monospace; line-height: 2=
2.3999996185303px; white-space: pre-wrap;"><span style=3D"color: #008;" cla=
ss=3D"styled-by-prettify">string</span></span><span style=3D"color: rgb(51,=
 51, 51); font-family: Menlo, Monaco, &#39;Courier New&#39;, monospace; fon=
t-size: 12px; line-height: 22.3999996185303px; white-space: pre-wrap; backg=
round-color: rgb(248, 248, 248);"><span style=3D"color: #000;" class=3D"sty=
led-by-prettify"><br></span></span><span style=3D"color: rgb(51, 51, 51); f=
ont-family: Menlo, Monaco, &#39;Courier New&#39;, monospace; font-size: 12p=
x; line-height: 22.3999996185303px; white-space: pre-wrap; background-color=
: rgb(248, 248, 248);"><span style=3D"color: #660;" class=3D"styled-by-pret=
tify">}</span></span><span style=3D"color: #000;" class=3D"styled-by-pretti=
fy"><br></span></div></code></div><br>This is very simple and low-level ext=
ension of the concept of inheritance;=C2=A0the programmer explicitly specif=
ies the location of the base object in the successor.=C2=A0It is strange th=
at this simple and obvious opportunity not appeared in the C language.</div=
></div><div><br></div><div>I propose enhanced (compared with Go) feature of=
 such embedding.=C2=A0We can use the existing &quot;inline&quot; keyword (o=
r some other keyword, eg. &quot;embed&quot;) to indicate the embedded field=
s.<br></div><div><br></div><div><div class=3D"prettyprint" style=3D"border:=
 1px solid rgb(187, 187, 187); word-wrap: break-word; background-color: rgb=
(250, 250, 250);"><code class=3D"prettyprint"><div class=3D"subprettyprint"=
><font color=3D"#660066"><span style=3D"color: #008;" class=3D"styled-by-pr=
ettify">struct</span><span style=3D"color: #000;" class=3D"styled-by-pretti=
fy"> </span><span style=3D"color: #606;" class=3D"styled-by-prettify">Small=
Box</span><span style=3D"color: #000;" class=3D"styled-by-prettify"> </span=
><span style=3D"color: #660;" class=3D"styled-by-prettify">{</span><span st=
yle=3D"color: #000;" class=3D"styled-by-prettify"><br>=C2=A0 </span><span s=
tyle=3D"color: #008;" class=3D"styled-by-prettify">int</span><span style=3D=
"color: #000;" class=3D"styled-by-prettify"> a</span><span style=3D"color: =
#660;" class=3D"styled-by-prettify">,</span><span style=3D"color: #000;" cl=
ass=3D"styled-by-prettify"> b</span><span style=3D"color: #660;" class=3D"s=
tyled-by-prettify">,</span><span style=3D"color: #000;" class=3D"styled-by-=
prettify"> c</span><span style=3D"color: #660;" class=3D"styled-by-prettify=
">;</span><span style=3D"color: #000;" class=3D"styled-by-prettify"><br></s=
pan><span style=3D"color: #660;" class=3D"styled-by-prettify">};</span><spa=
n style=3D"color: #000;" class=3D"styled-by-prettify"><br><br></span><span =
style=3D"color: #008;" class=3D"styled-by-prettify">struct</span><span styl=
e=3D"color: #000;" class=3D"styled-by-prettify"> </span><span style=3D"colo=
r: #606;" class=3D"styled-by-prettify">BigBox</span><span style=3D"color: #=
000;" class=3D"styled-by-prettify"> </span><span style=3D"color: #660;" cla=
ss=3D"styled-by-prettify">{</span><span style=3D"color: #000;" class=3D"sty=
led-by-prettify"><br>=C2=A0time_t </span><span style=3D"color: #606;" class=
=3D"styled-by-prettify">Timestamp</span><span style=3D"color: #660;" class=
=3D"styled-by-prettify">;</span><span style=3D"color: #000;" class=3D"style=
d-by-prettify"> <br>=C2=A0</span><span style=3D"color: #008;" class=3D"styl=
ed-by-prettify">inline</span><span style=3D"color: #000;" class=3D"styled-b=
y-prettify"> </span><span style=3D"color: #606;" class=3D"styled-by-prettif=
y">SmallBox</span><span style=3D"color: #000;" class=3D"styled-by-prettify"=
> inlinedBox</span><span style=3D"color: #660;" class=3D"styled-by-prettify=
">;</span><span style=3D"color: #000;" class=3D"styled-by-prettify"><br>=C2=
=A0std</span><span style=3D"color: #660;" class=3D"styled-by-prettify">::</=
span><span style=3D"color: #008;" class=3D"styled-by-prettify">string</span=
><span style=3D"color: #000;" class=3D"styled-by-prettify"> </span><span st=
yle=3D"color: #606;" class=3D"styled-by-prettify">Name</span><span style=3D=
"color: #660;" class=3D"styled-by-prettify">;</span><span style=3D"color: #=
000;" class=3D"styled-by-prettify"><br></span><span style=3D"color: #660;" =
class=3D"styled-by-prettify">};</span><span style=3D"color: #000;" class=3D=
"styled-by-prettify"><br></span></font></div></code></div><br>As a result, =
we can access to the fields of=C2=A0SmallBox=C2=A0both directly and through=
 an intermediate name &quot;inlinedBox&quot;:<br></div><div><br></div><div>=
<div class=3D"prettyprint" style=3D"border: 1px solid rgb(187, 187, 187); w=
ord-wrap: break-word; background-color: rgb(250, 250, 250);"><code class=3D=
"prettyprint"><div class=3D"subprettyprint"><font color=3D"#660066"><span s=
tyle=3D"color: #606;" class=3D"styled-by-prettify">BigBox</span><span style=
=3D"color: #000;" class=3D"styled-by-prettify"> box</span><span style=3D"co=
lor: #660;" class=3D"styled-by-prettify">;</span><span style=3D"color: #000=
;" class=3D"styled-by-prettify"><br>box</span><span style=3D"color: #660;" =
class=3D"styled-by-prettify">.</span><span style=3D"color: #000;" class=3D"=
styled-by-prettify">a </span><span style=3D"color: #660;" class=3D"styled-b=
y-prettify">=3D</span><span style=3D"color: #000;" class=3D"styled-by-prett=
ify"> </span><span style=3D"color: #066;" class=3D"styled-by-prettify">10</=
span><span style=3D"color: #660;" class=3D"styled-by-prettify">;</span><spa=
n style=3D"color: #000;" class=3D"styled-by-prettify"> </span><span style=
=3D"color: #800;" class=3D"styled-by-prettify">//directly, </span></font><f=
ont color=3D"#880000"><span style=3D"color: #800;" class=3D"styled-by-prett=
ify">like inheritance</span><span style=3D"color: #000;" class=3D"styled-by=
-prettify"><br>box</span><span style=3D"color: #660;" class=3D"styled-by-pr=
ettify">.</span><span style=3D"color: #000;" class=3D"styled-by-prettify">i=
nlinedBox</span><span style=3D"color: #660;" class=3D"styled-by-prettify">.=
</span><span style=3D"color: #000;" class=3D"styled-by-prettify">b </span><=
span style=3D"color: #660;" class=3D"styled-by-prettify">=3D</span><span st=
yle=3D"color: #000;" class=3D"styled-by-prettify"> </span><span style=3D"co=
lor: #066;" class=3D"styled-by-prettify">10</span><span style=3D"color: #66=
0;" class=3D"styled-by-prettify">;</span><span style=3D"color: #000;" class=
=3D"styled-by-prettify"> </span><span style=3D"color: #800;" class=3D"style=
d-by-prettify">// </span></font><span style=3D"font-family: Arial, Helvetic=
a, sans-serif; background-color: rgb(255, 255, 255);"><span style=3D"color:=
 #800;" class=3D"styled-by-prettify">using </span><span style=3D"color: #80=
0;" class=3D"styled-by-prettify">an intermediate name, </span></span><span =
style=3D"color: rgb(136, 0, 0); font-family: Arial, Helvetica, sans-serif;"=
><span style=3D"color: #800;" class=3D"styled-by-prettify">like aggregation=
</span></span></div></code></div><br><br></div></div>

<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/e85c46fd-5e5c-4e43-86ae-978da17cda0c%=
40isocpp.org?utm_medium=3Demail&utm_source=3Dfooter">https://groups.google.=
com/a/isocpp.org/d/msgid/std-proposals/e85c46fd-5e5c-4e43-86ae-978da17cda0c=
%40isocpp.org</a>.<br />

------=_Part_450_1470392765.1456925250415--
------=_Part_449_579399996.1456925250415--

.
