MCPcopy Create free account
hub / github.com/RenderKit/embree / ~DynamicStackArray

Function ~DynamicStackArray

common/sys/array.h:165–169  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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];

Callers

nothing calls this directly

Calls 1

isStackAllocatedFunction · 0.85

Tested by

no test coverage detected