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

Method Copy

util/generic/ptr.h:1050–1055  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1048public:
1049 template <class T>
1050 static inline T* Copy(T* t) {
1051 if (t) {
1052 return t->Clone();
1053 }
1054 return nullptr;
1055 }
1056};
1057
1058class TCopyNew {

Callers

nothing calls this directly

Calls 1

CloneMethod · 0.45

Tested by

no test coverage detected