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

Method string_n

src/fl/stl/string.h:101–101  ·  view source on GitHub ↗

Default + content-population constructors. All delegate to `basic_string(mInlineBuffer, N)` and then call the non-template population helpers on the base.

Source from the content-addressed store, hash-verified

99 // `basic_string(mInlineBuffer, N)` and then call the
100 // non-template population helpers on the base.
101 string_n() FL_NOEXCEPT : basic_string(mInlineBuffer, N) {}
102
103 string_n(const char* str) FL_NOEXCEPT : basic_string(mInlineBuffer, N) {
104 if (str) copy(str);

Callers

nothing calls this directly

Calls 5

assignFunction · 0.85
resizeFunction · 0.70
emptyMethod · 0.45
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected