SDEngine
Game Engine
Loading...
Searching...
No Matches
FixedString< MAX_SIZE > Struct Template Reference

#include <FixedString.hpp>

Public Member Functions

constexpr FixedString ()=default
 
consteval FixedString (std::string_view sv)
 
consteval FixedString (const char ch)
 
constexpr operator std::string_view () const
 

Public Attributes

std::array< char, MAX_SIZEdata {}
 
USize size {}
 

Constructor & Destructor Documentation

◆ FixedString() [1/3]

template<USize MAX_SIZE>
constexpr FixedString< MAX_SIZE >::FixedString ( )
constexprdefault

◆ FixedString() [2/3]

template<USize MAX_SIZE>
consteval FixedString< MAX_SIZE >::FixedString ( std::string_view  sv)
inlineexplicit

◆ FixedString() [3/3]

template<USize MAX_SIZE>
consteval FixedString< MAX_SIZE >::FixedString ( const char  ch)
inlineexplicit

Member Function Documentation

◆ operator std::string_view()

template<USize MAX_SIZE>
constexpr FixedString< MAX_SIZE >::operator std::string_view ( ) const
inlineexplicitconstexpr

Member Data Documentation

◆ data

template<USize MAX_SIZE>
std::array<char, MAX_SIZE> FixedString< MAX_SIZE >::data {}

◆ size

template<USize MAX_SIZE>
USize FixedString< MAX_SIZE >::size {}

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