codex
Loading...
Searching...
No Matches
fixed_string< N > Struct Template Reference

#include <utils.hpp>

Public Member Functions

constexpr fixed_string (void)=default
 
constexpr fixed_string (const char(&s_)[N+1])
 
constexpr operator std::string_view (void) const
 
constexpr std::size_t size (void) const
 
constexpr const char * data (void) const
 
constexpr const char * begin (void) const
 
constexpr const char * end (void) const
 
constexpr char * begin (void)
 
constexpr char * end (void)
 

Public Attributes

char s [N] = {}
 

Constructor & Destructor Documentation

◆ fixed_string() [1/2]

template<std::size_t N>
fixed_string< N >::fixed_string ( void )
constexprdefault

◆ fixed_string() [2/2]

template<std::size_t N>
fixed_string< N >::fixed_string ( const char(&) s_[N+1])
constexpr

Member Function Documentation

◆ begin() [1/2]

template<std::size_t N>
char * fixed_string< N >::begin ( void )
inlineconstexpr

◆ begin() [2/2]

template<std::size_t N>
const char * fixed_string< N >::begin ( void ) const
inlineconstexpr
Here is the caller graph for this function:

◆ data()

template<std::size_t N>
const char * fixed_string< N >::data ( void ) const
inlineconstexpr
Here is the caller graph for this function:

◆ end() [1/2]

template<std::size_t N>
char * fixed_string< N >::end ( void )
inlineconstexpr

◆ end() [2/2]

template<std::size_t N>
const char * fixed_string< N >::end ( void ) const
inlineconstexpr
Here is the caller graph for this function:

◆ operator std::string_view()

template<std::size_t N>
fixed_string< N >::operator std::string_view ( void ) const
inlineconstexpr

◆ size()

template<std::size_t N>
std::size_t fixed_string< N >::size ( void ) const
inlineconstexpr
Here is the caller graph for this function:

Member Data Documentation

◆ s

template<std::size_t N>
char fixed_string< N >::s[N] = {}

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