Rocksolid Light

Welcome to Rocksolid Light

mail  files  register  newsreader  groups  login

Message-ID:  

Ontogeny recapitulates phylogeny.


devel / comp.lang.c / Re: typedef in old C

SubjectAuthor
o Re: typedef in old CKenny McCormack

1
Re: typedef in old C

<uodnvm$7ord$1@news.xmission.com>

  copy mid

https://news.novabbs.org/devel/article-flat.php?id=48921&group=comp.lang.c#48921

  copy link   Newsgroups: comp.lang.c
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!xmission!nnrp.xmission!.POSTED.shell.xmission.com!not-for-mail
From: gazelle@shell.xmission.com (Kenny McCormack)
Newsgroups: comp.lang.c
Subject: Re: typedef in old C
Date: Fri, 19 Jan 2024 11:55:34 -0000 (UTC)
Organization: The official candy of the new Millennium
Message-ID: <uodnvm$7ord$1@news.xmission.com>
References: <tn9vlg$5ra$1@gioia.aioe.org> <tnjp2u$3juvv$1@dont-email.me>
Injection-Date: Fri, 19 Jan 2024 11:55:34 -0000 (UTC)
Injection-Info: news.xmission.com; posting-host="shell.xmission.com:166.70.8.4";
logging-data="254829"; mail-complaints-to="abuse@xmission.com"
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: gazelle@shell.xmission.com (Kenny McCormack)
 by: Kenny McCormack - Fri, 19 Jan 2024 11:55 UTC

In article <tnjp2u$3juvv$1@dont-email.me>,
Bonita Montero <Bonita.Montero@gmail.com> wrote:
....
>A stupid solution is:
>
>#include <type_traits>
>
>using X = unsigned;
>using Y = std::make_signed_t<X>;
>
>Maybe they didn't knew that in 1983. ;-)
>

Could you also give us a solution in Basic+?

How about Intercal?

Thanks.

--
The randomly chosen signature file that would have appeared here is more than 4
lines long. As such, it violates one or more Usenet RFCs. In order to remain
in compliance with said RFCs, the actual sig can be found at the following URL:
http://user.xmission.com/~gazelle/Sigs/LadyChatterley

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor