From 2175045673240788477 X-Google-Thread: f78e5,51456c3eb8f9490e X-Google-Attributes: gidf78e5,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!news4.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: Thu, 17 Aug 2006 11:30:07 -0500 Return-Path: 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 Newsgroups: comp.std.c++ Subject: Re: Copy Constructor Confusion! From: Frederick Gotham References: <1155645873.296811.3890@74g2000cwt.googlegroups.com> <1155654560.689240.298360@i3g2000cwc.googlegroups.com> User-Agent: Xnews/5.04.25 Message-ID: X-Complaints-To: abuse@eircom.net Organization: Eircom.Net http://www.eircom.net X-Virus-Scanned: amavisd-new at ucar.edu X-Virus-Scanned: amavisd-new at csse.unimelb.edu.au Approved: Fergus Henderson , moderator of comp.std.c++ X-Virus-Scanned: amavisd-new at csse.unimelb.edu.au Date: Thu, 17 Aug 2006 11:28:56 CST Lines: 27 NNTP-Posting-Host: 65.182.171.162 X-Trace: sv3-VqtGMEnPe2Oy0cyHk57wXdpGlLX6VjMhOgpQ4clwrimQ6p+NXDiKJL1p+Ljqa8tvn4mkWW3l+y7WqKs!hbgyYGNgA1A3TudCoEX9KKyzcuYUNMuHAdC3oS03ZPpZi+S3AYhlUTFL2IoHCDMCdtZwaIhe4RzU!vcmO0LovnWs1GZFVbs8Z 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++:3313 Thomas posted: > Thank you! > > I did not know that "X x = X()" did default initialize and that "X x" > didn't. > > Good to Know :) You should have learned that very early. int main() { int i; /* "i" contains white noise */ } -- Frederick Gotham --- [ 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 ]