MCPcopy Create free account
hub / github.com/cameron314/concurrentqueue / create

Function create

concurrentqueue.h:3650–3654  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3648
3649 template<typename U>
3650 static inline U* create()
3651 {
3652 void* p = aligned_malloc<U>(sizeof(U));
3653 return p != nullptr ? new (p) U : nullptr;
3654 }
3655
3656 template<typename U, typename A1>
3657 static inline U* create(A1&& a1)

Callers 2

tlsMethod · 0.85
tlsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected