Shi
Loading...
Searching...
No Matches
shi::literals Namespace Reference

Functions

void operator""_s (char const *str, size_t len)
 
auto operator""_v (char const *str, size_t len)
 
template<typename T , T... Cs>
Word operator""_w ()
 

Function Documentation

◆ operator""_s()

void shi::literals::operator""_s ( char const * str,
size_t len )
inline

Literal evaluate

Parameters
strPointer to the null-terminated byte string
lenLength of the null-terminated string
Here is the call graph for this function:

◆ operator""_v()

auto shi::literals::operator""_v ( char const * str,
size_t len )
inline

Literal variable

Parameters
strPointer to the null-terminated byte string
lenLength of the null-terminated string
Returns
Callable to be invoked with address
Here is the call graph for this function:

◆ operator""_w()

template<typename T , T... Cs>
Word shi::literals::operator""_w ( )

Literal word

Template Parameters
TType of character sequence
CsCharacter sequence
Returns
Word