While adding elements, the capacity is automatically increased by reallocating the internal array before copying the old elements and adding the new elements.

  • 则通过在复制旧元素和添加新元素之前重新分配内部数组来自动增大容量。
目录 查词历史