logoalt Hacker News

SuperV1234yesterday at 7:49 PM1 replyview on HN

Didn't know you could use C arrays to get static compile time reflection, guess C was really ahead of its time!


Replies

kevin_thibedeauyesterday at 10:01 PM

Wrap them in a class with a consteval constructor.