vector of pointer to object - how to avoid memory leak?

后端 未结 3 595
耶瑟儿~
耶瑟儿~ 2020-12-20 09:40

How do we ususaly deal with a vector whose elements are pointers to object? My specific question is the comment at the end of the code supplied below. Thanks.



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