memcpy(&array[fldsize], v->array, v->fldsize * sizeof(type));
}
+ void removeAll(Vector<type> *v) {
+ uint vsize = v->size();
+ for(uint i = 0; i < vsize; i++)
+ remove(v->get(i));
+ }
+
void add(type item) {
if (fldsize >= capacity) {
uint newcap = capacity << 1;