| 35 | |
| 36 | template<class T, int Prealloc> |
| 37 | Q_INLINE_TEMPLATE bool KDevVarLengthArray<T, Prealloc>::removeOne(const T& value) |
| 38 | { |
| 39 | const int idx = Base::indexOf(value); |
| 40 | if (idx == -1) { |
| 41 | return false; |
| 42 | } |
| 43 | Base::remove(idx); |
| 44 | return true; |
| 45 | } |
| 46 | |
| 47 | template<class T, int Prealloc> |
| 48 | Q_OUTOFLINE_TEMPLATE QList<T> KDevVarLengthArray<T, Prealloc>::toList() const |