News for hackers. Stuff that matters.
Re:Generics in C without void* or macros – enabled by psychec by raxxorrax on Monday September 09, 2019 @10:41AM (#20918621)
As evidenced by countless examples of somethingPTR-types, it is done regularly. But the main problem is indeed that you hide the pointer.

If you apply qualifiers like const to your type, results might me unexpected.

It might have semantic benefits, but C developers should be trained to ignore all these strange *-symbols anyway.

There are no comments on this comment yet.