FastLED 3.9.15
Loading...
Searching...
No Matches

◆ capacity()

fl::size fl::basic_string::capacity ( ) const

Definition at line 76 of file basic_string.cpp.hpp.

76 {
77 if (hasHeapData()) {
78 return heapData()->capacity();
79 } else if (isNonOwning()) {
80 return 0;
81 }
82 return mInlineCapacity;
83}
bool isNonOwning() const FL_NOEXCEPT
bool hasHeapData() const FL_NOEXCEPT
fl::size mInlineCapacity
NotNullStringHolderPtr & heapData() FL_NOEXCEPT

References hasHeapData(), heapData(), isNonOwning(), and mInlineCapacity.

+ Here is the call graph for this function: