17 enum class string_resize_type
 
   34 template<
class traits_t>
 
   37     using value_type = 
typename traits_t::value_type;
 
   38     using pointer    = 
typename traits_t::pointer;
 
   39     using size_type  = 
typename traits_t::size_type;
 
   40     using buffer     = std::array<value_type, traits_t::small_string_size()>;
 
   47     pointer 
data() noexcept;
 
   61     bool resize(size_type nSymbols, size_type nAlign, string_resize_type eType) noexcept;
 
   67     size_type 
size() 
const noexcept;
 
   84         pointer m_pData = 
nullptr;
 
   88     size_type m_nSize          = 0;
 
   89     size_type m_nAllocatedSize = 0;
 
bool resize(size_type nSymbols, size_type nAlign, string_resize_type eType) noexcept
Resize string data.
 
size_type size() const noexcept
Get string length.
 
bool is_small() const noexcept
Is string small and fits in the local buffer.
 
void free() noexcept
Free allocated memory.
 
pointer data() noexcept
Get string data: from buffer or from pointer.
 
size_type capacity() const noexcept
Get capacity of string.