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

Method swap

dlib/smart_pointers/shared_ptr_thread_safe.h:356–360  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

354 ) const { return get() != 0; }
355
356 void swap(shared_ptr_thread_safe& b)
357 {
358 std::swap(data, b.data);
359 std::swap(shared_node, b.shared_node);
360 }
361
362 template <typename D>
363 D* _get_deleter(

Callers 3

resetMethod · 0.45
swapFunction · 0.45

Calls 1

swapFunction · 0.70

Tested by

no test coverage detected