Definition at line 443 of file basic_string.cpp.hpp.
443 {
444 if (count == 0) {
446 return *this;
447 }
452 }
453 for (fl::size i = 0; i < count; ++i) {
455 }
457 } else {
460 for (fl::size i = 0; i < count; ++i) {
461 ptr->data()[i] = c;
462 }
463 ptr->data()[count] = '\0';
464 }
465 return *this;
466}
bool isInline() const FL_NOEXCEPT
void clear(bool freeMemory=false) FL_NOEXCEPT
NotNullStringHolderPtr & heapData() FL_NOEXCEPT
fl::variant< NotNullStringHolderPtr, ConstLiteral, ConstView > mStorage
char * inlineBufferPtr() FL_NOEXCEPT
fl::not_null< StringHolderPtr > NotNullStringHolderPtr
shared_ptr< T > make_shared(Args &&... args) FL_NOEXCEPT
References basic_string(), clear(), heapData(), inlineBufferPtr(), isInline(), fl::make_shared(), mInlineCapacity, mLength, and mStorage.