MCPcopy Create free account
hub / github.com/LibreSprite/LibreSprite / unique

Method unique

src/base/shared_ptr.h:179–179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177
178 long use_count() const { return (m_refCount ? m_refCount->use_count(): 0); }
179 bool unique() const { return use_count() == 1; }
180
181private:
182

Callers 2

TESTFunction · 0.80
linkMethod · 0.80

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.64