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

Function IsDetached

util/generic/string.h:389–395  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

387 }
388
389 bool IsDetached() const {
390#ifdef TSTRING_IS_STD_STRING
391 return true;
392#else
393 return 1 == RefCount();
394#endif
395 }
396
397 // ~~~ Size and capacity ~~~
398 TBasicString& resize(size_t n, TCharType c = ' ') Y_LIFETIME_BOUND { // remove or append

Callers 1

string.hFile · 0.70

Calls 1

RefCountFunction · 0.70

Tested by

no test coverage detected