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

Method UseCount

library/cpp/neh/smart_ptr.h:66–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64 }
65
66 inline size_t UseCount() const noexcept {
67 if (!C_) {
68 return 0;
69 }
70 return C_->Value();
71 }
72
73 inline bool operator!() const noexcept {
74 return !C_;

Callers 4

Y_UNIT_TESTFunction · 0.45
TSharedPtrBMethod · 0.45
UseCountMethod · 0.45
UseCountMethod · 0.45

Calls 1

ValueMethod · 0.45

Tested by

no test coverage detected