NexusForce 1.0.0
A Modern C++ Library with extended functionality, web components, and utility libraries
载入中...
搜索中...
未找到
format_options结构体 参考

格式选项 更多...

#include <format.hpp>

Public 属性

char fill = ' '
 填充字符
format_align align = format_align::DEFAULT
 对齐方式
format_type type = format_type::DEFAULT
 类型
int width = 0
 最小宽度(0表示不限制)
int precision = -1
 精度(-1表示默认)
bool uppercase = false
 是否大写
bool alternate = false
 是否备用格式(# 前缀)
bool zero_pad = false
 是否零填充
bool show_sign = false
 是否强制显示符号 '+'
bool space_sign = false
 是否空格占位符号 ' '

详细描述

格式选项

对应格式规范:[[fill]align][sign][#][0][width][.precision][type]

在文件 format.hpp55 行定义.


该结构体的文档由以下文件生成: