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

Method swap

uspace/lib/cpp/include/__bits/memory/shared_ptr.hpp:295–299  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

293 */
294
295 void swap(shared_ptr& other) noexcept
296 {
297 std::swap(payload_, other.payload_);
298 std::swap(data_, other.data_);
299 }
300
301 void reset() noexcept
302 {

Callers 3

shared_ptrClass · 0.45
resetMethod · 0.45
swapFunction · 0.45

Calls 1

swapFunction · 0.70

Tested by

no test coverage detected