Is it possible to get the pointer the continous memory fragment in a std::vector in C++?

后端 未结 3 1486
轻奢々
轻奢々 2021-01-19 16:16

I moved my code to use std::vector instead of char *mem = malloc(...) but now I am facing a problem that I can only access the vector d

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