22 #ifndef MM1_DATA_INT_ARRAY_H 23 #define MM1_DATA_INT_ARRAY_H 25 #include "common/array.h" 34 int indexOf(uint val)
const {
35 for (uint i = 0; i <
size(); ++i) {
36 if ((*
this)[i] == val)
47 return indexOf(val) != -1;
53 void remove(uint val) {
54 int idx = indexOf(val);
void push_back(uint val)
Definition: int_array.h:62
Definition: int_array.h:30
void push_back(const T &element)
Definition: array.h:180
bool contains(uint val)
Definition: int_array.h:46
Definition: detection.h:27
size_type size() const
Definition: array.h:315
uint remove_at(size_type idx)
Definition: array.h:260