Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/1a1a11a/libCacheSim
/ swap
Function
swap
libCacheSim/dataStructure/sparsepp/spp_smartptr.h:65–68 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
63
{
64
template <class T>
65
inline void swap(spp_sptr<T> &a, spp_sptr<T> &b)
66
{
67
a.swap(b);
68
}
69
}
70
71
#endif // spp_smartptr_h_guard
Callers
nothing calls this directly
Calls
1
swap
Method · 0.45
Tested by
no test coverage detected