| 49 | _count = newSize; |
| 50 | } |
| 51 | inline void Add(const T & item) |
| 52 | { |
| 53 | #ifdef _DEBUG |
| 54 | if (_count == size) |
| 55 | throw IndexOutofRangeException("out of range access to static array."); |
| 56 | #endif |
| 57 | _buffer[_count++] = item; |
| 58 | } |
| 59 | inline void Add(T && item) |
| 60 | { |
| 61 | #ifdef _DEBUG |
no test coverage detected