when I try to create and resize a vector to hold the maximum number of items (vector::max_size()) i get a debug error during runtime :
"Invalid allocation size: 429467292"
Im wondering why u cant resize this, if max_size() should return the maximum number of item in the vector...
vector<int> vc;
vc.resize(vc.max_size());
I'd also try to enable LARGADRESSAWARE:On in VS2010, but that does not help. Wondering if this was even a right thoguth...
Anyone got a clue?
429467292is probably the maximum index that can be handled, but in reality you won't be able to get anywhere need that due to 32-bit memory limitations.