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

Function swap

dlib/smart_pointers/weak_ptr.h:217–220  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

215
216 template<typename T>
217 void swap(
218 weak_ptr<T>& a,
219 weak_ptr<T> & b
220 ) { a.swap(b); }
221}
222
223#endif // DLIB_WEAK_PTr_

Callers 1

swapMethod · 0.70

Calls 1

swapMethod · 0.45

Tested by

no test coverage detected