Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ TCopyPtr
Method
TCopyPtr
util/generic/ptr.h:1072–1075 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1070
class TCopyPtr: public TPointerBase<TCopyPtr<T, C, D>, T> {
1071
public:
1072
inline TCopyPtr(T* t = nullptr) noexcept
1073
: T_(t)
1074
{
1075
}
1076
1077
inline TCopyPtr(const TCopyPtr& t)
1078
: T_(C::Copy(t.Get()))
Callers
nothing calls this directly
Calls
3
Copy
Function · 0.70
Swap
Function · 0.70
Get
Method · 0.45
Tested by
no test coverage detected