Re:Effortless Performance Improvements in C++: std:vector
by TylerGlaiel on Wednesday March 08, 2023 @07:29PM
(#35076741)
sure but this is how pretty much every implementation does it these days, so you should be able to safely rely on that (or just drop in your own version that provides that guarantee if you are really concerned about it)
implementation dependent - the c++ standard says nothing on this