Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ Drop
Method
Drop
util/generic/ptr.h:606–608 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
604
}
605
606
inline void Drop() noexcept {
607
TIntrusivePtr(nullptr).Swap(*this);
608
}
609
610
inline T* Release() const noexcept Y_WARN_UNUSED_RESULT {
611
T* res = T_;
Callers
nothing calls this directly
Calls
2
TIntrusivePtr
Class · 0.70
Swap
Method · 0.45
Tested by
no test coverage detected