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

Method ExpressionValue

src/fl/test/fltest.h:313–317  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

311 fl::string mStringified;
312
313 ExpressionValue(const T& value) FL_NOEXCEPT : mValue(value) {
314 fl::sstream ss;
315 ss << value;
316 mStringified = ss.str();
317 }
318
319 operator T() const FL_NOEXCEPT { return mValue; }
320 const char* str() const FL_NOEXCEPT { return mStringified.c_str(); }

Callers

nothing calls this directly

Calls 1

strMethod · 0.45

Tested by

no test coverage detected