MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / tcDelete

Function tcDelete

extra/yassl/taocrypt/include/misc.hpp:62–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60
61 template<typename T>
62 void tcDelete(T* ptr)
63 {
64 if (ptr) ptr->~T();
65 ::operator delete(ptr, TaoCrypt::tc);
66 }
67
68 template<typename T>
69 void tcArrayDelete(T* ptr)

Callers 2

AS2Function · 0.85
DestroyMethod · 0.85

Calls 1

operator deleteFunction · 0.50

Tested by

no test coverage detected