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

Method Reset

util/generic/ptr.h:916–918  ·  view source on GitHub ↗

Effectively replace both: Reset(const TSharedPtr& t) Reset(TSharedPtr&& t)

Source from the content-addressed store, hash-verified

914 // Reset(const TSharedPtr& t)
915 // Reset(TSharedPtr&& t)
916 Y_REINITIALIZES_OBJECT inline void Reset(TSharedPtr t) noexcept {
917 Swap(t);
918 }
919
920 Y_REINITIALIZES_OBJECT inline void Reset() noexcept {
921 Drop();

Callers

nothing calls this directly

Calls 1

SwapFunction · 0.70

Tested by

no test coverage detected