Re:Things you should do now (2011)
by MaxBarraclough on Friday February 19, 2021 @01:07PM
(#26195972)
I like that pattern too. I've tried using it in a rather ad-hoc way in C/C++ enums. I suppose the proper solution would be to have a header file, enum_starting_vals.h, to centralise them.
[ Parent
| on HN ]
There are no comments on this comment yet.