Definition at line 467 of file basic_string.cpp.hpp.
467 {
468 if (count == 0) {
470 return *this;
471 }
476 }
477 for (fl::size i = 0; i < count; ++i) {
479 }
481 } else {
484 for (fl::size i = 0; i < count; ++i) {
485 ptr->data()[i] = c;
486 }
487 ptr->data()[count] = '\0';
488 }
489 return *this;
490}
void clear(bool freeMemory=false) FL_NO_EXCEPT
NotNullStringHolderPtr & heapData() FL_NO_EXCEPT
char * inlineBufferPtr() FL_NO_EXCEPT
bool isInline() const FL_NO_EXCEPT
fl::variant< NotNullStringHolderPtr, ConstLiteral, ConstView > mStorage
fl::not_null< StringHolderPtr > NotNullStringHolderPtr
shared_ptr< T > make_shared(Args &&... args) FL_NO_EXCEPT
References basic_string(), clear(), heapData(), inlineBufferPtr(), isInline(), fl::make_shared(), mInlineCapacity, mLength, and mStorage.