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

Method capacity

src/fl/stl/basic_string.cpp.hpp:76–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76fl::size basic_string::capacity() const {
77 if (hasHeapData()) {
78 return heapData()->capacity();
79 } else if (isNonOwning()) {
80 return 0;
81 }
82 return mInlineCapacity;
83}
84
85// ======= ELEMENT ACCESS =======
86

Callers 1

shrink_to_fitMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected