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

Method create

include/dmlc/blockingconcurrentqueue.h:953–957  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

951private:
952 template<typename U>
953 static inline U* create()
954 {
955 auto p = (Traits::malloc)(sizeof(U));
956 return p != nullptr ? new (p) U : nullptr;
957 }
958
959 template<typename U, typename A1>
960 static inline U* create(A1&& a1)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected