🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c
Article #2172

Re: Iterators over slices and views and ranges analogs in C

#2172
From: Bonita Montero
Date: Fri, 04 Dec 2026 12:45
9 lines
1915 bytes
Am 04.12.2026 um 13:07 schrieb bartc:

>   #define typename(x) (_Generic((x),\
>       int:                   "int",\
>       unsigned int:          "unsigned int",\
>       const int:             "const int",\
>       default:               "other"))
Compared to C++ generics this really, really sucks !
Technical Details
Message-ID: <11euckd$1ht9i$1@raubtier-asyl.eternal-september.org>
Path: mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!raubtier-asyl.eternal-september.org!.POSTED!not-for-mail
References: <-kGdnSzB4bWEM4z2nZ2dnZfqn_WdnZ2d@giganews.com> <11esd12$mfam$1@raubtier-asyl.eternal-september.org> <11et39b$rj55$1@news.xmission.com> <11ett3b$1a41p$1@dont-email.me> <11euadh$1gp4t$1@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-ny.newsdeef.eu!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!eternal-september.org!feeder.eternal-september.org!nntp.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: Iterators over slices and views and ranges analogs in C
Date: Fri, 4 Dec 2026 13:45:04 +0100
Organization: A noiseless patient Spider
Lines: 9
Message-ID: <11euckd$1ht9i$1@raubtier-asyl.eternal-september.org>
References: <-kGdnSzB4bWEM4z2nZ2dnZfqn_WdnZ2d@giganews.com>
 <11esd12$mfam$1@raubtier-asyl.eternal-september.org>
 <11et39b$rj55$1@news.xmission.com> <11ett3b$1a41p$1@dont-email.me>
 <11euadh$1gp4t$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 04 Dec 2026 12:45:02 +0000 (UTC)
Injection-Info: raubtier-asyl.eternal-september.org;
	logging-data="1635634"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19KczkVQt48LnVe72A2mJtsQd8g5ADYeX8="; posting-host="cc5c5e45b1aa59b1b466ef34f6e5ce58"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:/zP0hyNFIRToXLNfn+6Bbsi4vFM= sha256:7AcGyWfC+kzzlZv/VUCQpgrqQPhI1MuUCythCx8k4iQ=
	sha1:DCWko6I4rG58MGx/EpehmIvlv8s= sha256:Y9UEPePBg2/svlxx8wTG1K6ukDR75oOUDL3Umy2UjKQ=
Content-Language: de-DE
In-Reply-To: <11euadh$1gp4t$1@dont-email.me>