vector小知识

可以用capacity计算vector实际开了的int数量。似乎是sizeof(v)+v.capacity()*4。

原文地址:https://www.cnblogs.com/YouthRhythms/p/14619566.html