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

A better bitset for enum flags

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

29 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

0

u/[deleted] Jul 20 '26

[deleted] — view deleted comment

2

u/_Noreturn Jul 20 '26

You are welcome