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

Function swap

dlib/smart_pointers/shared_ptr.h:444–447  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

442
443 template<typename T>
444 void swap(
445 shared_ptr<T>& a,
446 shared_ptr<T>& b
447 ) { a.swap(b); }
448
449 template<typename T, typename U>
450 shared_ptr<T> static_pointer_cast(

Callers 1

swapMethod · 0.70

Calls 1

swapMethod · 0.45

Tested by

no test coverage detected