|
|
| version 1.73, 2009/04/17 23:21:12 | version 1.75, 2009/04/21 09:23:21 |
|---|---|
| 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(){ | inline ~Array(){ |
| free(felements); | if(felements) |
| 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; } |