Sorry if this has been asked a zillion times before, I can't exactly what I'm looking for with the search function.
What are the reasons for core collections such as Array not using size_t for indexing, returning the collection's size etc?
Couple of guesses:
- They should do but it'll break (or at least, produce too many warnings in) users' applications
- Signed representation is sometimes handy
Not that I really want to store more than 4 billion things, but I just trialled a 64 bit build and was kind of expecting these to be the native width.