MCPcopy Create free account
hub / github.com/catboost/catboost / DoDelete

Method DoDelete

util/memory/addstorage.h:73–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71
72private:
73 static inline void DoDelete(void* ptr) noexcept {
74 TInfo* info = InfoPtr(static_cast<T*>(ptr));
75 info->~TInfo();
76 ::operator delete(ptr);
77 }
78
79 static constexpr size_t CombinedSizeOfInstanceWithTInfo() noexcept {
80 return AlignUp(sizeof(T), alignof(TInfo)) + sizeof(TInfo);

Callers

nothing calls this directly

Calls 1

operator deleteFunction · 0.50

Tested by

no test coverage detected