Yume
Public Member Functions | Public Attributes | List of all members
yume::StringLiteral< N > Struct Template Reference

#include <util.hpp>

Collaboration diagram for yume::StringLiteral< N >:
Collaboration graph
[legend]

Public Member Functions

constexpr StringLiteral (const char(&str)[N])
 
auto operator<=> (const StringLiteral &) const =default
 

Public Attributes

char value [N] {}
 

Detailed Description

template<size_t N>
struct yume::StringLiteral< N >

Definition at line 104 of file util.hpp.

Constructor & Destructor Documentation

◆ StringLiteral()

template<size_t N>
constexpr yume::StringLiteral< N >::StringLiteral ( const char(&)  str[N])
inlineconstexpr

Definition at line 106 of file util.hpp.

References yume::StringLiteral< N >::value.

Member Function Documentation

◆ operator<=>()

template<size_t N>
auto yume::StringLiteral< N >::operator<=> ( const StringLiteral< N > &  ) const
default

Member Data Documentation

◆ value

template<size_t N>
char yume::StringLiteral< N >::value[N] {}

Definition at line 108 of file util.hpp.

Referenced by yume::StringLiteral< N >::StringLiteral().


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