Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
setSample
Method · 0.45
string
Class · 0.45
accept
Method · 0.45
write
Method · 0.45
copy
Method · 0.45
reserve
Method · 0.45
shrink_to_fit
Method · 0.45
basic_string.cpp.hpp
File · 0.45
FL_TEST_FILE
Function · 0.45
test_container_move_semantics
Function · 0.45
test_map_move_semantics
Function · 0.45
test_smart_pointer_move_semantics
Function · 0.45
Calls
no outgoing calls
Tested by
3
test_container_move_semantics
Function · 0.36
test_map_move_semantics
Function · 0.36
test_smart_pointer_move_semantics
Function · 0.36