Elektrine lite

← Feed

@thephd@pony.social

Post #1892859

2026-05-02 14:58 UTC

@poliorcetics@social.treehouse.systems the magic is in the identifier after the default and after the int in the _Generic: it allows you to take an ident on the value put into a C _Generic expression so you don't have to keep re-computing the value to use it in the branches. It also gives safe type checking.

Replies (2)