Since most operations on std::vector require / return size_t - that\'s the type I use for indexing. But now I\'ve enabled all compiler warnings to
std::vector
size_t
It allows for things like it += index; where index can be both positive or negative (according to some logic).
it += index;
index
Comparing with the following:
if (some_condition) it += index; else it -= index;
Which would be needed if we could only pass unsigned values.