>{0} initializer in C or C++ for unions no longer guarantees clearing of the whole union (except for static storage duration initialization), it just initializes the first union member to zero.
I posted the same link last month to highlight this change. Sadly got flagged.
>{0} initializer in C or C++ for unions no longer guarantees clearing of the whole union (except for static storage duration initialization), it just initializes the first union member to zero.
I posted the same link last month to highlight this change. Sadly got flagged.