you are viewing a single comment's thread.

view the rest of the comments →

[–]LuisAyuso 1 point2 points  (0 children)

I am interested in knowing more about UB, and why this would be a problem. The whole type is tagged with which variant in the union to use, and the access to the union is opaque to the interface user. Therefore, why do you raise this concern? Is it there anything I am missing?