阅读背景:

如何访问std :: vector的内部连续缓冲区,我可以将它与memcpy等一起使用吗?

来源:互联网 

How can I access the contiguous memory buffer used within a std::vector so I can perform direct memory operations on it (e.g. memcpy)? Also, it is safe to perform operations like memcpy on that buffer?How can I access the contiguous memory buffer u




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: