Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FastLED/FastLED
/ accept
Method
accept
tests/fl/stl/variant.cpp:312–312 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
310
int result = 0;
311
312
void accept(int value) { result = value; }
313
void accept(const fl::string& value) { result = value.length(); }
314
void accept(double value) { result = static_cast<int>(value); }
315
};
Callers
2
FL_TEST_FILE
Function · 0.45
FL_TEST_FILE
Function · 0.45
Calls
1
length
Method · 0.45
Tested by
2
FL_TEST_FILE
Function · 0.36
FL_TEST_FILE
Function · 0.36