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

Method TIntrusivePtr

util/generic/ptr.h:522–527  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

520 };
521
522 inline TIntrusivePtr(T* t = nullptr) noexcept
523 : T_(t)
524 {
525 Ops();
526 Ref();
527 }
528
529 inline TIntrusivePtr(T* t, TNoIncrement) noexcept
530 : T_(t)

Callers

nothing calls this directly

Calls 3

SwapFunction · 0.70
RefFunction · 0.50
GetMethod · 0.45

Tested by

no test coverage detected