Topic: Storage selection under the data std:: vector. What nuances?
I correctly understand, at storage selection under the data std:: vector the linear segment that is why even if the operating system shows sufficient for layout of the data of this vector storage is required, it does not mean, what the vector can be created (type, the heap is defragmented)? And if yes, that is whether any standards on the manager of a heap (well there that it always reorders accessible storage so that the free represented one linear segment, etc.). To me it is simple to understand, why can happen bad_alloc at visible in the manager of tasks presence of free the RAM. For example, here to me sent the schedule of loading of storage by operation of my program before embarkation bad_alloc on the moment when it should request the storage equal to storage of that ate at present (like, on a picture, the place still was):