Re:The C++ Iceberg
by tialaramex on Wednesday May 08, 2024 @10:39AM
(#40298616)
Effort to try to write an appendix listing all the UB and IFNDR is an ambition of WG21 but there's no specific timeline.
It's a bit like that "Migrate off obsolete DB server" card that's been sat in your team's (well most teams) backlog for a couple of years. Everybody agrees it should be done... But like not this sprint.
My assessment is that at their current rate WG21 is adding new UB to the language slightly faster than it's being documented for the appendix, so this won't actually finish.
Also, dereferencing a pointer with the wrong dynamic type.
> all ca 200 UBs in my head
Technically there is no enumerated set of all possible UB. Anything not explicitly defined in the standard is UB.
/extremely-pedantic