From -3195659205271079955
X-Google-Thread: f78e5,51456c3eb8f9490e
X-Google-Attributes: gidf78e5,public
X-Google-Language: ENGLISH,ASCII
Path: g2news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local02.nntp.dca.giganews.com!nntp.speakeasy.net!news.speakeasy.net.POSTED!not-for-mail
NNTP-Posting-Date: Fri, 25 Aug 2006 11:40:10 -0500
Return-Path: <devnull@stump.algebra.com>
X-Authentication-Warning: mulga.csse.unimelb.edu.au: fjh set sender to devnull@stump.algebra.com using -f
X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov)
X-Original-To: std-c++@mailman.ucar.edu
Delivered-To: std-c++@mailman.ucar.edu
From: kuyper@wizard.net
Newsgroups: comp.std.c++
Subject: Re: Copy Constructor Confusion!
Organization: http://groups.google.com
Message-ID: <1156523477.644185.312570@i42g2000cwa.googlegroups.com>
References: <1155645873.296811.3890@74g2000cwt.googlegroups.com>
   <hPkEg.12700$j7.324766@news.indigo.ie>
   <4kebv5Fbjid9U3@individual.net>
   <ebvd6b$2q45$1@news2.ipartners.pl>
   <1155833275.678725.297060@h48g2000cwc.googlegroups.com>
   <44e73f70$0$10146$9b4e6d93@newsspool2.arcor-online.net>
   <1156162332.681008.153540@m73g2000cwd.googlegroups.com>
   <4l60udFecegU1@individual.net>
   <1156512377.765813.77030@b28g2000cwb.googlegroups.com>
   <I4FHg.13108$j7.326494@news.indigo.ie>
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Complaints-To: groups-abuse@google.com
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060410 Firefox/1.0.8,gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: i42g2000cwa.googlegroups.com; posting-host=65.242.71.114;
   posting-account=bPBxkgwAAABzUwlEAMy-xGlLqZFJ5Jz_
X-Virus-Scanned: amavisd-new at ucar.edu
X-Virus-Scanned: amavisd-new at csse.unimelb.edu.au
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by mulga.csse.unimelb.edu.au id k7PGVUEN026755
Approved: Fergus Henderson <fjh@cs.mu.oz.au>, moderator of comp.std.c++
X-Virus-Scanned: amavisd-new at csse.unimelb.edu.au
Date: Fri, 25 Aug 2006 11:38:32 CST
Lines: 29
NNTP-Posting-Host: 65.182.171.162
X-Trace: sv3-RXygVhmmtxQeOe19BZJ5+LMPtjurMRpSlMr9di7oglZ1poznBocnw9bXcI2ZkLjATAdbVlcdFN7EiYs!zG4GQc03NV0ok/cf9poJaU3Cu2xsOm/U7BiWFSzAYLI4rclenoz+li2FnBGIjTZy1rk+nUFhYrqS!vi89TPzZbhFqbhB9eiQ4Jc/2NZa39M3SYRJ1r5sLgLs=
X-Complaints-To: abuse@speakeasy.net
X-DMCA-Complaints-To: abuse@speakeasy.net
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.32
Xref: g2news2.google.com comp.std.c++:3523

Frederick Gotham wrote:
> kanze posted:
>
> > According to �8.5.1/7: "If there are fewer initializers in the
> > list than there are members in the aggregate, then each member
> > not explicitly initialized shall be default-initialized."  So
> >     T arr[1] = {} ;
> > is the equivalent of:
> >     T arr[1] = { T() } ;
> > which is the equivalent of:
> >     T arr = T() ;
>
>
> I don't think you're corrected there. Just because something is default-
> initialised, doesn't mean there's a copy-construction involved.

That's correct, but it misses the point. Re-read his post. It isn't the
default-initialization that determines this, it's the use of
brace-enclosed initializer list - per 8.5/12, his citation of which
you've cut out of your reply. You need an argument to justify ignoring
8.5/12. I haven't seen one.


---
[ comp.std.c++ is moderated.  To submit articles, try just posting with ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu    ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.comeaucomputing.com/csc/faq.html                      ]



