MCPcopy Create free account
hub / github.com/KhronosGroup/KTX-Software / destruct_array

Function destruct_array

external/basisu/transcoder/basisu_containers.h:118–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116 }
117
118 template <typename T> inline void destruct_array(T* p, size_t n)
119 {
120 T* q = p + n;
121 for (; p != q; ++p)
122 p->~T();
123 }
124
125 template<typename T> struct int_traits { enum { cMin = INT32_MIN, cMax = INT32_MAX, cSigned = true }; };
126

Callers 6

destruct_arrayMethod · 0.85
~vectorMethod · 0.85
clearMethod · 0.85
resizeMethod · 0.85
try_resizeMethod · 0.85
eraseMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected