Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davisking/dlib
/ swap
Method
swap
dlib/smart_pointers/weak_ptr.h:159–165 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
157
}
158
159
void swap(
160
weak_ptr<T>& b
161
)
162
{
163
std::swap(data, b.data);
164
std::swap(weak_node, b.weak_node);
165
}
166
167
template <typename Y>
168
bool _private_less (
Callers
6
weak_ptr
Class · 0.45
reset
Method · 0.45
swap
Function · 0.45
swap
Function · 0.45
swap
Function · 0.45
swap
Function · 0.45
Calls
1
swap
Function · 0.70
Tested by
no test coverage detected