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

Function create

include/dmlc/concurrentqueue.h:3606–3609  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3604
3605 template<typename U>
3606 static inline U *create() {
3607 auto p = (Traits::malloc)(sizeof(U));
3608 return p != nullptr ? new(p) U : nullptr;
3609 }
3610
3611 template<typename U, typename A1>
3612 static inline U *create(A1 &&a1) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected