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