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

Method Clear

util/ysafeptr.h:148–152  ·  view source on GitHub ↗

reset data in class to default values, saves RefCount from destruction

Source from the content-addressed store, hash-verified

146 }
147 // reset data in class to default values, saves RefCount from destruction
148 void Clear() {
149 AddRef();
150 DestroyContents();
151 DecRef();
152 }
153
154 virtual int operator&(IBinSaver&) {
155 return 0;

Callers 1

Y_UNIT_TESTFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected