Potato Engine
Hobby Game Engine Project
Public Types | Public Member Functions | Static Public Attributes | Friends | List of all members
up::fixed_string< Capacity > Class Template Reference

Public Types

using value_type = char
 
using pointer = char const *
 
using size_type = size_t
 

Public Member Functions

 fixed_string (fixed_string const &string)
 
 fixed_string (string_view string)
 
 fixed_string (char const (&string)[Capacity])
 
fixed_stringoperator= (fixed_string const &string)
 
fixed_stringoperator= (string_view string)
 
 operator string_view () const
 
 operator bool () const
 
bool empty () const
 
size_type size () const
 
size_type capacity () const
 
pointer data () const
 
pointer c_str () const
 
void clear ()
 

Static Public Attributes

static constexpr auto effective_capacity = Capacity - 1
 

Friends

template<typename Writer , typename Spec >
void format_value (Writer &writer, fixed_string const &fs, Spec const &options) noexcept
 

The documentation for this class was generated from the following file: