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

Function create

deps/concurrentqueue/concurrentqueue.h:3623–3627  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3621
3622 template<typename U>
3623 static inline U* create()
3624 {
3625 void* p = aligned_malloc<U>(sizeof(U));
3626 return p != nullptr ? new (p) U : nullptr;
3627 }
3628
3629 template<typename U, typename A1>
3630 static inline U* create(A1&& a1)

Calls

no outgoing calls