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