Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davisking/dlib
/ swap
Function
swap
dlib/smart_pointers/shared_ptr_abstract.h:301–304 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
299
300
template<typename T>
301
void swap(
302
shared_ptr<T>& a,
303
shared_ptr<T>& b
304
) { a.swap(b); }
305
/*!
306
provides a global swap function
307
!*/
Callers
nothing calls this directly
Calls
1
swap
Method · 0.45
Tested by
no test coverage detected