| 39 | template <class T> |
| 40 | struct _TempArray { |
| 41 | _TempArray(size_t n) |
| 42 | :_onHeap(n * sizeof(T) >= 1024) |
| 43 | ,_array( _onHeap ? new T[n] : nullptr) |
| 44 | { } |
| 45 | |
| 46 | ~_TempArray() { |
| 47 | if (_onHeap) |
nothing calls this directly
no outgoing calls
no test coverage detected