MCPcopy Create free account
hub / github.com/bytedance/sonic-cpp / construct

Method construct

include/sonic/allocator.h:502–502  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

500 }
501
502 void construct(pointer p, const T& val) { new ((T*)p) T(val); }
503 void destroy(pointer p) { p->~T(); }
504 size_type max_size() const { return size_t(-1); }
505

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected