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

Function destroy_array

Source/ThirdParty/concurrentqueue.h:3031–3040  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3029
3030 template<typename U>
3031 static inline void destroy_array(U* p, size_t count)
3032 {
3033 if (p != nullptr) {
3034 assert(count > 0);
3035 for (size_t i = count; i != 0; ) {
3036 (p + --i)->~U();
3037 }
3038 (Traits::free)(p);
3039 }
3040 }
3041
3042 template<typename U>
3043 static inline U* create()

Callers 2

~ConcurrentQueueFunction · 0.85
~ConcurrentQueueMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected