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

Method swap

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

Source from the content-addressed store, hash-verified

163 */
164
165 void swap(weak_ptr& other) noexcept
166 {
167 std::swap(payload_, other.payload_);
168 }
169
170 void reset() noexcept
171 {

Callers 3

weak_ptrClass · 0.45
resetMethod · 0.45
swapFunction · 0.45

Calls 1

swapFunction · 0.70

Tested by

no test coverage detected