Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ Swap
Method
Swap
library/cpp/containers/2d_array/2d_array.h:103–108 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
101
Data[i] = a;
102
}
103
void Swap(TArray2D& a) {
104
std::swap(Data, a.Data);
105
std::swap(PData, a.PData);
106
std::swap(XSize, a.XSize);
107
std::swap(YSize, a.YSize);
108
}
109
};
110
111
template <class T>
Callers
2
ConnectD
Function · 0.45
WaitForIO
Method · 0.45
Calls
1
swap
Function · 0.50
Tested by
no test coverage detected