Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ Swap
Method
Swap
util/generic/ptr.h:332–334 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
330
}
331
332
inline void Swap(THolder& r) noexcept {
333
DoSwap(T_, r.T_);
334
}
335
336
inline T* Get() const noexcept {
337
return T_;
Callers
12
Clone
Function · 0.45
string.h
File · 0.45
TIntrusivePtr
Class · 0.45
Drop
Method · 0.45
TIntrusiveConstPtr
Class · 0.45
Drop
Method · 0.45
TSharedPtr
Class · 0.45
Drop
Method · 0.45
TCopyPtr
Class · 0.45
Swap
Method · 0.45
Reset
Method · 0.45
Y_UNIT_TEST
Function · 0.45
Calls
1
DoSwap
Function · 0.70
Tested by
no test coverage detected