Validity of pointers to internal data structure when reallocating a std::vector object

后端 未结 3 1609
北荒
北荒 2021-02-19 08:25

Assume there is a class A that contains a vector of ints. Now assume that a vector of A\'s is created. If a reallocation of an A object occurs (so the vector object is moved) du

3条回答
提交回复
热议问题