Deutsch English Français Italiano |
<vaqj0q$33gb$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: David Brown <david.brown@hesbynett.no> Newsgroups: comp.lang.c Subject: Re: enum sets Date: Thu, 29 Aug 2024 21:43:21 +0200 Organization: A noiseless patient Spider Lines: 12 Message-ID: <vaqj0q$33gb$1@dont-email.me> References: <vaoclb$3lfbf$1@dont-email.me> <vap88m$3ssqh$1@dont-email.me> <pan$9d328$bae53f06$a403818a$8df3193b@invalid.invalid> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Thu, 29 Aug 2024 21:43:22 +0200 (CEST) Injection-Info: dont-email.me; posting-host="167bfd288a0b55d141ad14b12d6bc1a3"; logging-data="101899"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Cjb4vjl3qPi6Cer01BBR0ykzGv0rOu2w=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:rCc439ij0e/WXfQ0KNU1RcLnLBI= Content-Language: en-GB In-Reply-To: <pan$9d328$bae53f06$a403818a$8df3193b@invalid.invalid> Bytes: 1448 On 29/08/2024 15:55, Blue-Maned_Hawk wrote: > David Brown wrote: > >> Unfortunately, C does not have good >> support or syntax for sum types - it all has to be handled manually and >> with either extra wrapping or no type safety. > > <https://github.com/Hirrolot/datatype99> > That is a fun set of macros!