|
|
| version 1.83, 2015/10/26 01:21:55 | version 1.84, 2016/11/24 19:24:45 |
|---|---|
| Line 169 public: | Line 169 public: |
| inline T operator [](size_t index) const { return get(index); } | inline T operator [](size_t index) const { return get(index); } |
| inline void clear() { | |
| fused=0; | |
| } | |
| /// iterate over all elements | /// iterate over all elements |
| template<typename I> void for_each(void (*callback)(T, I), I info) const { | template<typename I> void for_each(void (*callback)(T, I), I info) const { |
| T *last=felements+fused; | T *last=felements+fused; |