- It adjusts its growth strategy to work well with the properties of the allocator. - It requires that its members be relocatable and uses memmove to speed up move operations.
If your object is in a vector, it's already possible for the vector to move the object without updating any pointers to it. The only question is whether it is safe for the vector to move the object with memmove instead…
- It adjusts its growth strategy to work well with the properties of the allocator. - It requires that its members be relocatable and uses memmove to speed up move operations.
If your object is in a vector, it's already possible for the vector to move the object without updating any pointers to it. The only question is whether it is safe for the vector to move the object with memmove instead…