while( ++n<total ) values[n-1]=values[n];
remove();
}
+ void remove_block(int i, int n) {
+ if( i >= total || !n ) return;
+ for( n+=i; n<total; ++i,++n ) values[i] = values[n];
+ total = i;
+ }
+ void remove_object_block(int i, int n) {
+ if( i >= total || !n ) return;
+ for( int j=i,k=n; --k>=0 && j<total; ++j ) del_value(j);
+ for( n+=i; n<total; ++i,++n ) values[i] = values[n];
+ total = i;
+ }
void remove(TYPE value) {
int out = 0;
for( int in=0; in<total; ++in )