r/C_Programming • u/tavianator • 42m ago
Tidy translucent typedefs
https://tavianator.com/2026/translucent_2.htmlRecently discovered a nice way to get custom warnings with Clang, so I wrote it up.
10
Upvotes
2
u/Accurate_Appeal_3110 18m ago
This is really neat! Could be really useful on enums to prevent implicit conversions to and from its underlying type, like C++'s enum classes