r/cpp • u/meetingcpp Meeting C++ | C++ Evangelist • Jul 19 '26
A better bitset for enum flags
https://www.elbeno.com/blog/?p=1836
43
Upvotes
r/cpp • u/meetingcpp Meeting C++ | C++ Evangelist • Jul 19 '26
View all comments
Show parent comment
2
u/archialone Jul 21 '26 edited Jul 21 '26
I see, that's actually what the root commenter did https://www.reddit.com/r/cpp/comments/1v0pizv/comment/oyhlddi/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button
And it actually works well https://godbolt.org/z/5b4WvY5re