MCPcopy Create free account
hub / github.com/FastLED/FastLED / use_count

Method use_count

src/fl/stl/weak_ptr.h:132–134  ·  view source on GitHub ↗

Observers

Source from the content-addressed store, hash-verified

130
131 // Observers
132 long use_count() const FL_NOEXCEPT {
133 return mControlBlock ? static_cast<long>(mControlBlock->shared_count) : 0;
134 }
135
136 bool expired() const FL_NOEXCEPT {
137 return use_count() == 0;

Callers 15

setSampleMethod · 0.45
stringClass · 0.45
acceptMethod · 0.45
writeMethod · 0.45
copyMethod · 0.45
reserveMethod · 0.45
shrink_to_fitMethod · 0.45
FL_TEST_FILEFunction · 0.45
test_map_move_semanticsFunction · 0.45

Calls

no outgoing calls

Tested by 3

test_map_move_semanticsFunction · 0.36