@wim_v12e @neauoire if you stick to recent GCC or clang versions you can use labels as values as an unofficial language extension, is that what you meant?

gcc.gnu.org/onlinedocs/gcc/Lab

stackoverflow.com/a/45380228/3