8#ifndef HPP_ALIB_STRINGS_LOCALSTRING
9#define HPP_ALIB_STRINGS_LOCALSTRING 1
11#if !defined (HPP_ALIB_STRINGS_ASTRING)
15namespace alib {
namespace strings {
64 template <
typename TChar,
integer TCapacity>
112 if ( !move.HasInternalBuffer() )
131#if ALIB_DEBUG_STRINGS
133 move.buffer =
nullptr;
191#if ALIB_DEBUG_STRINGS
193 move.buffer =
nullptr;
213 template <
class TAppendable>
236 template <
typename TChar,
integer TCapacity>
261 template <
typename TChar,
integer TCapacity>
262 using TLocalStringNoWarning = TLocalString<TChar, TCapacity>;
bool dbgWarnWhenExternalBufferIsReplaced
TAString & Append(const TCharSrc *src, integer srcLength)
integer debugLastAllocRequest
TLocalString & operator=(const TLocalString ©)
TLocalString(const TLocalString ©)
TLocalString(TLocalString &&move) noexcept
TLocalString(const TAppendable &src)
TChar localBuffer[TCapacity]
constexpr bool IsNull() const
constexpr integer Length() const
constexpr const TChar * Buffer() const
constexpr TLocalStringNoWarning()
TLocalStringNoWarning(const String &src)