Bash++
Bash++ compiler internal documentation
Public Member Functions | Public Attributes | Friends | List of all members
FixedString< N > Struct Template Reference

#include <FixedString.h>

Public Member Functions

consteval void append (std::string_view str)
 
consteval void append (char c, size_t count=1)
 
consteval std::string_view view () const
 

Public Attributes

std::array< char, N > data {}
 
size_t size = 0
 

Friends

std::ostream & operator<< (std::ostream &os, const FixedString &fs)
 

Member Function Documentation

◆ append() [1/2]

template<size_t N>
consteval void FixedString< N >::append ( char  c,
size_t  count = 1 
)
inline

◆ append() [2/2]

template<size_t N>
consteval void FixedString< N >::append ( std::string_view  str)
inline

◆ view()

template<size_t N>
consteval std::string_view FixedString< N >::view ( ) const
inline

Friends And Related Symbol Documentation

◆ operator<<

template<size_t N>
std::ostream & operator<< ( std::ostream &  os,
const FixedString< N > &  fs 
)
friend

Member Data Documentation

◆ data

template<size_t N>
std::array<char, N> FixedString< N >::data {}

◆ size

template<size_t N>
size_t FixedString< N >::size = 0

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