| ▲ | afdbcreid 2 hours ago | |
That is called an index. If you want it to be standalone, you can bundle it with the ArrayList. | ||
| ▲ | dminik an hour ago | parent | next [-] | |
I wish languages made it easier (or possible) to track index ownership at compile time. | ||
| ▲ | sparkie an hour ago | parent | prev [-] | |
I think parent was after base+offset+index rather than just base+index. Examples would be eg, `string_view` or `ArraySegment`. They hold some offset relative to a base allocation, and when we index the string_view or ArraySegment we're indexing relative to that offset. | ||