Path: csiph.com!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!news.uzoreto.com!aioe.org!BKzeqmo2UYxb4eR2zKm0zw.user.46.165.242.91.POSTED!not-for-mail From: JohnnyCameLater@whatsthetime.net Newsgroups: comp.lang.c++ Subject: Re: I think references should have been const by default Date: Wed, 27 Oct 2021 15:46:20 -0000 (UTC) Organization: Aioe.org NNTP Server Message-ID: References: Injection-Info: gioia.aioe.org; logging-data="27596"; posting-host="BKzeqmo2UYxb4eR2zKm0zw.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org"; X-Notice: Filtered by postfilter v. 0.9.2 Xref: csiph.com comp.lang.c++:82148 On Wed, 27 Oct 2021 17:30:43 +0200 David Brown wrote: >On 27/10/2021 16:30, JohnnyCameLater@whatsthetime.net wrote: >> On Wed, 27 Oct 2021 11:07:03 +0200 >> David Brown wrote: >>> On 27/10/2021 09:57, RacingRabbit@watershipdown.co.uk wrote: >>>> On Tue, 26 Oct 2021 12:23:37 -0400 >>>> James Kuyper wrote: >>>>> On 10/26/21 11:30 AM, RacingRabbit@watershipdown.co.uk wrote: >>>>>> You said arrays couldn't be declared as parameters. >>>>> >>>>> No, I said "it's not permitted to declare functions that take arrays as >>>>> arguments, but it is permitted to declare a function parameter as if it >>>>> were an array." >>>> >>>> There is no difference. As I said, what the compiler does with it under the > >>>> hood is not the point. The syntax declares an array. >>>> >>>>> When I run that program, it says "pointer". What do you get when you run >it? >>> >>>> >>>> Same. Not the point, its declared as an array. >>>> >>> >>> Do you have trouble understanding the difference between an array, and a >>> pointer to the first element of the array? >> >> Do you have trouble understanding plain English? The syntax declares an >array, >> the fact the compiler converts that into a pointer isn't the point. Pun >> intended. >> > >I don't know whether you are trolling, or if you are simply so arrogant Pot -> kettle. >that you would rather stay ignorant and insult people than admit to >making a mistake and appreciate the help and advice you are given. >Either way, feel free to come back with questions once you have grown up >a little, and feel free to stay away until that day. Go fuck yourself you patronising jerk.