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

Method reset

dlib/smart_pointers/shared_ptr_thread_safe.h:277–280  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

275 }
276
277 void reset()
278 {
279 shared_ptr_thread_safe().swap(*this);
280 }
281
282 template<typename Y>
283 void reset(Y* p)

Callers

nothing calls this directly

Calls 2

swapMethod · 0.45

Tested by

no test coverage detected