MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / destroy

Function destroy

Source/ThirdParty/concurrentqueue.h:3057–3063  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3055
3056 template<typename U>
3057 static inline void destroy(U* p)
3058 {
3059 if (p != nullptr) {
3060 p->~U();
3061 }
3062 (Traits::free)(p);
3063 }
3064
3065private:
3066 std::atomic<ProducerBase*> producerListTail;

Callers 15

~ConcurrentQueueFunction · 0.85
~ExplicitProducerMethod · 0.85
~PxHashBaseMethod · 0.85
clearMethod · 0.85
PxArrayMethod · 0.85
clearMethod · 0.85
resizeMethod · 0.85
PxArray.hFile · 0.85
recreateMethod · 0.85
~HashBaseMethod · 0.85
clearMethod · 0.85
ArrayMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected