2: 似乎把扩容缩容设为私有成员函数更合理些

This commit is contained in:
iridiumR 2021-10-03 10:38:04 +08:00
parent c8cc19778e
commit a165d1bb32

View file

@ -12,6 +12,9 @@ class Vec
int LEN;
int USED;
void expand();
void shrink();
public:
@ -34,10 +37,6 @@ class Vec
void swap(int a, int b);
void expand();
void shrink();
int insert(int locate,int value);
int del(int locate,int value);