sparrow 1.3.0
Loading...
Searching...
No Matches
sparrow::fixed_string< N > Struct Template Reference

#include <fixed_string.hpp>

Collaboration diagram for sparrow::fixed_string< N >:
[legend]

Public Member Functions

constexpr fixed_string (const char(&str)[N])
 
constexpr operator std::string_view () const
 

Public Attributes

char value [N]
 

Detailed Description

template<std::size_t N>
struct sparrow::fixed_string< N >

Definition at line 25 of file fixed_string.hpp.

Constructor & Destructor Documentation

◆ fixed_string()

template<std::size_t N>
sparrow::fixed_string< N >::fixed_string ( const char(&) str[N])
inlineconstexpr

Definition at line 27 of file fixed_string.hpp.

Member Function Documentation

◆ operator std::string_view()

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

Definition at line 32 of file fixed_string.hpp.

Member Data Documentation

◆ value

template<std::size_t N>
char sparrow::fixed_string< N >::value[N]

Definition at line 37 of file fixed_string.hpp.


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