r/cpp • Meeting C++ | C++ Evangelist • Jul 19 '26

A better bitset for enum flags

https://www.elbeno.com/blog/?p=1836
43 Upvotes

32 comments sorted by

View all comments

Show parent comment

8

u/_Noreturn Jul 20 '26

It isn't UB it is unspecified there is a difference

4

u/Due_Battle_9890 Jul 20 '26

Thanks for the correction!

2

u/_Noreturn Jul 20 '26

You are welcome