23 #ifndef BAGEL_BOFLIB_ARRAY_H 24 #define BAGEL_BOFLIB_ARRAY_H 26 #include "common/array.h" 35 for (
int i = 0; i < (int)this->
size(); ++i) {
36 if (this->
operator[](i) == t)
43 bool contains(T t)
const {
44 return this->indexOf(t) != -1;
48 int idx = this->indexOf(t);
size_type size() const
Definition: array.h:318
T remove_at(size_type idx)
Definition: array.h:263