Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davisking/dlib
/ swap
Function
swap
dlib/smart_pointers/weak_ptr_abstract.h:182–185 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
180
181
template<typename T>
182
void swap(
183
weak_ptr<T>& a,
184
weak_ptr<T> & b
185
) { a.swap(b); }
186
/*!
187
provides a global swap function
188
!*/
Callers
nothing calls this directly
Calls
1
swap
Method · 0.45
Tested by
no test coverage detected