MCPcopy Create free account
hub / github.com/Snapchat/KeyDB / destroy

Function destroy

deps/concurrentqueue/concurrentqueue.h:3637–3642  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3635
3636 template<typename U>
3637 static inline void destroy(U* p)
3638 {
3639 if (p != nullptr)
3640 p->~U();
3641 aligned_free<U>(p);
3642 }
3643
3644private:
3645 std::atomic<ProducerBase*> producerListTail;

Callers 2

~ConcurrentQueueMethod · 0.85
~ExplicitProducerMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected