|
|
| version 1.71, 2009/04/17 09:55:21 | version 1.74, 2009/04/18 00:33:56 |
|---|---|
| Line 83 public: | Line 83 public: |
| felements=fallocated?static_cast<T*>(malloc(fallocated*sizeof(T))):0; | felements=fallocated?static_cast<T*>(malloc(fallocated*sizeof(T))):0; |
| } | } |
| #ifdef USE_DESTRUCTORS | |
| inline ~Array(){ | |
| free(felements); | |
| } | |
| #endif | |
| /// how many items are in Array | /// how many items are in Array |
| inline size_t count() const { return fused; } | inline size_t count() const { return fused; } |
| /// append to array | /// append to array |