tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
string_constant< CharT, Chars > Struct Template Reference

#include <string_constant.hpp>

Public Types

using string_view_type = etl::basic_string_view<CharT>
 
using value_type = CharT
 

Public Member Functions

constexpr operator string_view_type () const noexcept
 

Static Public Member Functions

static constexpr auto begin () noexcept
 
static constexpr auto end () noexcept
 
static constexpr auto size () noexcept
 

Static Public Attributes

static constexpr auto storage = etl::array<CharT, sizeof...(Chars)>{Chars...}
 

Member Typedef Documentation

◆ string_view_type

template<typename CharT, CharT... Chars>
using string_view_type = etl::basic_string_view<CharT>

◆ value_type

template<typename CharT, CharT... Chars>
using value_type = CharT

Member Function Documentation

◆ begin()

template<typename CharT, CharT... Chars>
constexpr auto begin ( )
inlinestaticconstexprnoexcept

◆ end()

template<typename CharT, CharT... Chars>
constexpr auto end ( )
inlinestaticconstexprnoexcept

◆ operator string_view_type()

template<typename CharT, CharT... Chars>
operator string_view_type ( ) const
inlinenodiscardconstexprnoexcept

◆ size()

template<typename CharT, CharT... Chars>
constexpr auto size ( )
inlinestaticconstexprnoexcept

Member Data Documentation

◆ storage

template<typename CharT, CharT... Chars>
auto storage = etl::array<CharT, sizeof...(Chars)>{Chars...}
staticconstexpr

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