MCPcopy Create free account
hub / github.com/davisking/dlib / swap

Method swap

dlib/smart_pointers/weak_ptr.h:159–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157 }
158
159 void swap(
160 weak_ptr<T>& b
161 )
162 {
163 std::swap(data, b.data);
164 std::swap(weak_node, b.weak_node);
165 }
166
167 template <typename Y>
168 bool _private_less (

Callers 6

weak_ptrClass · 0.45
resetMethod · 0.45
swapFunction · 0.45
swapFunction · 0.45
swapFunction · 0.45
swapFunction · 0.45

Calls 1

swapFunction · 0.70

Tested by

no test coverage detected