FastLED 3.10.6
Loading...
Searching...
No Matches

◆ capacity()

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

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

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

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

+ Here is the call graph for this function: