Use Vector for storing areas

This commit is contained in:
Fabio Alessandrelli 2015-03-19 23:53:54 +00:00
parent ba194115bc
commit 4b3b5eba86
2 changed files with 13 additions and 5 deletions

View file

@ -149,7 +149,16 @@ public:
sort_custom<_DefaultComparator<T> >();
}
void ordered_insert(const T& p_val) {
int i;
for (i=0; i<size(); i++) {
if (p_val < operator[](i)) {
break;
};
};
insert(i, p_val);
}
void operator=(const Vector& p_from);
Vector(const Vector& p_from);