| 163 | : data(&arr[0]) {} |
| 164 | |
| 165 | __forceinline ~DynamicStackArray () |
| 166 | { |
| 167 | if (!isStackAllocated()) |
| 168 | delete[] data; |
| 169 | } |
| 170 | |
| 171 | __forceinline bool isStackAllocated() const { |
| 172 | return data == &arr[0]; |
nothing calls this directly
no test coverage detected