MCPcopy Create free account
hub / github.com/dmlc/dmlc-core / destroy

Method destroy

include/dmlc/blockingconcurrentqueue.h:967–973  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

965
966 template<typename U>
967 static inline void destroy(U* p)
968 {
969 if (p != nullptr) {
970 p->~U();
971 }
972 (Traits::free)(p);
973 }
974
975private:
976 ConcurrentQueue inner;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected