Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davisking/dlib
/ swap
Function
swap
dlib/smart_pointers/weak_ptr.h:217–220 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
215
216
template<typename T>
217
void swap(
218
weak_ptr<T>& a,
219
weak_ptr<T> & b
220
) { a.swap(b); }
221
}
222
223
#endif // DLIB_WEAK_PTr_
Callers
1
swap
Method · 0.70
Calls
1
swap
Method · 0.45
Tested by
no test coverage detected