MCPcopy 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

1070class TCopyPtr: public TPointerBase<TCopyPtr<T, C, D>, T> {
1071public:
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

CopyFunction · 0.70
SwapFunction · 0.70
GetMethod · 0.45

Tested by

no test coverage detected