electronicarts / EASTL

EASTL stands for Electronic Arts Standard Template Library. It is an extensive and robust implementation that has an emphasis on high performance.
BSD 3-Clause "New" or "Revised" License
7.82k stars 905 forks source link

array: add bounds checks for operator[] #533

Closed tempname11 closed 1 week ago

tempname11 commented 1 week ago

Many other containers in this library (including vector) do have assertions for operator[], and so it makes sense to have them in array as well.

jhopkins-ea commented 1 week ago

Hi. We added this functionality recently to our internal version and it will be included in the next public release. No plans as to when that release is yet.