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

Method destroy

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

Source from the content-addressed store, hash-verified

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
506 template <typename U>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected