Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!nuzba.szn.dk!pnx.dk!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Ian Collins Newsgroups: comp.lang.c++ Subject: Re: Problem with array objects Date: Mon, 25 Apr 2011 11:59:13 +1200 Lines: 26 Message-ID: <91jrqiF820U1@mid.individual.net> References: <%OFsp.42022$bT6.13973@newsfe05.ams2> <91guh2F6cmU1@mid.individual.net> <7WIsp.37183$2W5.2255@newsfe16.ams2> <91h5dpF6cmU3@mid.individual.net> <%RKsp.40408$5t2.24872@newsfe06.ams2> <91hf57F6cmU6@mid.individual.net> <91hm6tF6cmU7@mid.individual.net> <2LUsp.37194$2W5.34221@newsfe16.ams2> <91jlisF56lU1@mid.individual.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net 33Jmp21IYOfkdL/xZDs4CQxDUVgV31COAINa3ItW0X2nJq4QHn Cancel-Lock: sha1:kvWHKE8Y1UAerp7gFlU6YR2l1R8= User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.9.2.9) Gecko/20101021 Lightning/1.0b2 Thunderbird/3.1.4 In-Reply-To: Xref: x330-a1.tempe.blueboxinc.net comp.lang.c++:4327 On 04/25/11 11:46 AM, Paul wrote: > "Ian Collins" wrote: >> On 04/25/11 12:31 AM, Paul wrote: >>> >>> "Ian Collins" wrote >>>>>>>> >>>>>>>> Saying "*pparr=1; /*Cannot do this*/" is no different form writing >> >> You even quoted me saying it. > Altogether now! No I didn't. Spot the self contradiction: >> (*pparr) and arr have the same type. So whatever applies to one, applies >> to the other. > > I told you they had the same type > Under no circumstances can dereferencing pparr access the array in the same > way as arr So they have the same type but are different. Um, interesting concept. -- Ian Collins