MCPcopy Create free account
hub / github.com/HelenOS/helenos / swap

Function swap

uspace/lib/cpp/include/__bits/memory/weak_ptr.hpp:228–231  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

226
227 template<class T>
228 void swap(weak_ptr<T>& lhs, weak_ptr<T>& rhs) noexcept
229 {
230 lhs.swap(rhs);
231 }
232}
233
234#endif

Callers 1

swapMethod · 0.70

Calls 1

swapMethod · 0.45

Tested by

no test coverage detected