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

Function swap

dlib/smart_pointers/shared_ptr_thread_safe.h:415–418  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

413
414 template<typename T>
415 void swap(
416 shared_ptr_thread_safe<T>& a,
417 shared_ptr_thread_safe<T>& b
418 ) { a.swap(b); }
419
420 template<typename T, typename U>
421 shared_ptr_thread_safe<T> static_pointer_cast(

Callers 1

swapMethod · 0.70

Calls 1

swapMethod · 0.45

Tested by

no test coverage detected