Base Framework
|
A string literal. More...
#include <base/Literal.h>
Public Member Functions | |
template<MemorySize SIZE> | |
Literal (const char(&value)[SIZE]) noexcept | |
const char * | getValue () const noexcept |
MemorySize | getLength () const noexcept |
operator bool () const noexcept | |
A string literal.
This class binds together a native string literal and its length.
|
inlinenoexcept |
Initializes the literal.
|
inlinenoexcept |
Returns the length of the literal.
|
inlinenoexcept |
Returns the literal.
|
inlinenoexcept |
Returns true if not empty.