MCPcopy Create free account
hub / github.com/Tessil/ordered-map / construct

Method construct

tests/custom_allocator_tests.cpp:87–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85
86 template <typename U, typename... Args>
87 void construct(U* p, Args&&... args) {
88 ::new (static_cast<void*>(p)) U(std::forward<Args>(args)...);
89 }
90
91 template <typename U>
92 void destroy(U* p) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected