MCPcopy Create free account
hub / github.com/FastLED/FastLED / swap

Method swap

src/fl/stl/shared_ptr.h:309–312  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

307 }
308
309 void swap(shared_ptr& other) FL_NOEXCEPT {
310 fl::swap(mPtr, other.mPtr);
311 fl::swap(mControlBlock, other.mControlBlock);
312 }
313
314 void swap(shared_ptr&& other) FL_NOEXCEPT {
315 fl::swap(mPtr, other.mPtr);

Callers 3

shared_ptrClass · 0.95
resetMethod · 0.95
swapFunction · 0.45

Calls 1

swapFunction · 0.70

Tested by

no test coverage detected