|
libxr
1.0
Want to be the best embedded framework
|
Structural literal wrapper used as the NTTP source for printf formats. More...
#include <printf.hpp>
Public Member Functions | |
| constexpr | Text (const char(&text)[N]) |
| Copies the string literal into the structural NTTP object. | |
| constexpr size_t | Size () const |
| Returns the format length without the terminating zero byte. / 返回不含结尾零字节的格式串长度 | |
| constexpr const char * | Data () const |
| Returns the literal bytes including the terminating zero byte. / 返回含结尾零字节的字面量指针 | |
Data Fields | |
| char | data [N] {} |
| Literal bytes including the terminating zero byte. / 含结尾零字节的字面量字节序列 | |
Structural literal wrapper used as the NTTP source for printf formats.
作为 printf 格式源的结构化字符串字面量包装。
Definition at line 16 of file printf.hpp.
|
inlineconstexpr |
Copies the string literal into the structural NTTP object.
将字符串字面量复制到结构化 NTTP 对象中。
Definition at line 25 of file printf.hpp.
|
inlinenodiscardconstexpr |
Returns the literal bytes including the terminating zero byte. / 返回含结尾零字节的字面量指针
Definition at line 36 of file printf.hpp.
|
inlinenodiscardconstexpr |
Returns the format length without the terminating zero byte. / 返回不含结尾零字节的格式串长度
Definition at line 34 of file printf.hpp.
| char LibXR::Print::Text< N >::data[N] {} |
Literal bytes including the terminating zero byte. / 含结尾零字节的字面量字节序列
Definition at line 19 of file printf.hpp.