Deutsch   English   Français   Italiano  
<v3tlhb$1o860$6@dont-email.me>

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

Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: Lawrence D'Oliveiro <ldo@nz.invalid>
Newsgroups: comp.lang.c
Subject: Re: C23 auto x C++ auto.
Date: Fri, 7 Jun 2024 00:50:51 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 8
Message-ID: <v3tlhb$1o860$6@dont-email.me>
References: <v2vela$3e4pn$1@dont-email.me>
	<v2vgj3$3eh79$1@raubtier-asyl.eternal-september.org>
	<v2vmto$3ffl2$1@dont-email.me> <v2vohg$3fq60$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 07 Jun 2024 02:50:52 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="21a6995757d724b8d83dd14f044d030a";
	logging-data="1843392"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19ySPyXHIAk4awZyxoiMRPx"
User-Agent: Pan/0.158 (Avdiivka; )
Cancel-Lock: sha1:Kl5hUoDD6KExKnSSv5nshaw+LjU=
Bytes: 1394

On Sun, 26 May 2024 13:38:08 -0300, Thiago Adams wrote:

> I am trying to remember the situation where typeof cannot be used,
> justifying the existence of auto other than "easy to read".

As one example, if the type definition includes “const”, then trying to 
use “typeof” to define a variable to assign to will of course fail. That’s 
why you have “typeof_unqual”.