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

Method unique

dlib/smart_pointers/shared_ptr_thread_safe.h:335–338  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

333 T* get() const { return data; }
334
335 bool unique() const
336 {
337 return use_count() == 1;
338 }
339
340 long use_count() const
341 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected