←back to thread

196 points svlasov | 1 comments | | HN request time: 0s | source
Show context
TillE ◴[] No.40851335[source]
Finally. I think there have been proposals since C++17 at least, and all I really wanted is for them to solve the common problem of basic static reflection for enums (without hacks like magic_enum uses).
replies(1): >>40851454 #
jjmarr ◴[] No.40851454[source]
magic_enum is killing my build time with endless template instantiations. Is this going to be faster?
replies(3): >>40851746 #>>40853037 #>>40871158 #
1. mehrdadn ◴[] No.40853037[source]
Do you think you could try my library [1] and let me know how it performs in comparison? I've been curious about its compile-time performance, but I've never tried to compare its performance against that of magic_enum.

[1] https://news.ycombinator.com/item?id=32236447