Two pointers alternative to C++ std::vector

后端 未结 0 600
攒了一身酷
攒了一身酷 2021-01-02 03:20

In general std::vector object size is 24 bytes, as it is implemented as 3 pointers (each pointer is 8 bytes in size on 64-bit CPUs). These pointers are:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题