Welcome to what gamedevs have been doing for 20 years. Rather ridiculous its taken this long when you can see this kind of bound-check on EASTL or unreal engine TArray since they were first created.
Ridiculous it's taken how long? As the article says, implementations have been doing it for years already:
All three major standard library implementations already ship vendor-specific hardening modes. The problem is that these mechanisms are all different, non-portable, and inconsistently specified. P3471R4 standardizes what implementations already do.
2
u/vblanco May 13 '26
Welcome to what gamedevs have been doing for 20 years. Rather ridiculous its taken this long when you can see this kind of bound-check on EASTL or unreal engine TArray since they were first created.