Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connections
Warning: mysqli::query(): Couldn't fetch mysqli in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\index.php on line 66
Article <v31iol$3v634$1@raubtier-asyl.eternal-september.org>
Deutsch   English   Français   Italiano  
<v31iol$3v634$1@raubtier-asyl.eternal-september.org>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!raubtier-asyl.eternal-september.org!.POSTED!not-for-mail
From: Bonita Montero <Bonita.Montero@gmail.com>
Newsgroups: comp.lang.c
Subject: Re: C23 auto x C++ auto.
Date: Mon, 27 May 2024 11:11:51 +0200
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <v31iol$3v634$1@raubtier-asyl.eternal-september.org>
References: <v2vela$3e4pn$1@dont-email.me>
 <v2vgj3$3eh79$1@raubtier-asyl.eternal-september.org>
 <pan$35724$57c5c6ff$2dac0e95$c52fa8a4@invalid.invalid>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 27 May 2024 11:11:50 +0200 (CEST)
Injection-Info: raubtier-asyl.eternal-september.org; posting-host="d2eb1dd903b6a95f54c943c93466aedc";
	logging-data="4167780"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+iMs+mqZOqvCiVusTbA59nG8tq95awWp8="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:SpjdulKx8NqcQLOZQWkxZxGXdA0=
Content-Language: de-DE
In-Reply-To: <pan$35724$57c5c6ff$2dac0e95$c52fa8a4@invalid.invalid>
Bytes: 1890

Am 27.05.2024 um 07:53 schrieb Blue-Maned_Hawk:
> Bonita Montero wrote:
> 
>> I don't know what type inference in C is good for since the type names
>> in C are usually short. If I have short typenames in C++ I don't use
>> type inference. Type-inference makes sense to make such things shorter
>>       typename map<string, string>::const_iterator it = map.cbegin();
>> This doesn't happen in C.
> 
> Type-inference in C is useful for the same sole reason that type-inference
> has any use anywhere else:  preventing repetition of a typename.

I never use type inference if I have short typenames in C++ because
this is more readable. And in C you only have short typenames.