Steppable 0.0.1
A CAS project written from scratch in C++
Loading...
Searching...
No Matches
steppable::__internals::utils::StringLiteral< N > Struct Template Reference

String literal workaround for templates. More...

#include <util.hpp>

Public Member Functions

constexpr StringLiteral (const char(&str)[N])
 Initializes the wrapper class.
 

Public Attributes

char value [N]
 The value of the wrapper class. Stores the string object.
 

Detailed Description

template<size_t N>
struct steppable::__internals::utils::StringLiteral< N >

String literal workaround for templates.

Template Parameters
NThe length of the string

Constructor & Destructor Documentation

◆ StringLiteral()

template<size_t N>
steppable::__internals::utils::StringLiteral< N >::StringLiteral ( const char(&) str[N])
inlineconstexpr

Initializes the wrapper class.

Parameters
strThe string literal for the template.

Member Data Documentation

◆ value

template<size_t N>
char steppable::__internals::utils::StringLiteral< N >::value[N]

The value of the wrapper class. Stores the string object.


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