MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / swap

Method swap

support/DeepCopy.h:88–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86 deep_unique_ptr &operator=(deep_unique_ptr<Base> &&ptr) = default;
87 ~deep_unique_ptr() = default;
88 friend void swap(deep_unique_ptr &ptr0, deep_unique_ptr<Base> &ptr1) noexcept
89 {
90 using std::swap;
91 swap(ptr0._val, ptr1._val);
92 swap(ptr0._copy, ptr1._copy);
93 }
94 Base &operator*() noexcept
95 {
96 return *_val;

Callers

nothing calls this directly

Calls 1

swapFunction · 0.85

Tested by

no test coverage detected