r/cpp • u/meetingcpp Meeting C++ | C++ Evangelist • Jul 19 '26
A better bitset for enum flags
https://www.elbeno.com/blog/?p=1836
40
Upvotes
r/cpp • u/meetingcpp Meeting C++ | C++ Evangelist • Jul 19 '26
View all comments
Show parent comment
1
u/archialone Jul 21 '26 edited Jul 21 '26
Bitset already has those, no?
Or do you mean to have a function named for those operations? https://en.cppreference.com/cpp/utility/bitset