C PlusPlus (C++) Language
C PlusPlus (C++)
Rate this topic

C++'s `std::vector` is not guaranteed to be contiguous in memory, although it usually is in practice for performance reasons. There are niche cases where a non-contiguous implementation might be chosen. elaborate