Converting between C++ std::vector and C array without copying

前端 未结 5 1314
清酒与你
清酒与你 2020-12-02 08:34

I would like to be able to convert between std::vector and its underlying C array int* without explicitly copying the data.

Does std::vector provide access to the u

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