|
NexusForce 1.0.0
A Modern C++ Library with extended functionality, web components, and utility libraries
|
字符串格式化功能 更多...
#include "NeForce/core/string/to_string.hpp"类 | |
| struct | format_options |
| 格式选项 更多... | |
| struct | formatter< T, enable_if_t< is_floating_point_v< T > > > |
| 浮点数类型的格式化器特化 更多... | |
| struct | formatter< T, enable_if_t< is_standard_integral_v< T > &&is_signed_v< T > > > |
| 有符号整数类型的格式化器特化 更多... | |
| struct | formatter< T, enable_if_t< is_standard_integral_v< T > &&is_unsigned_v< T > > > |
| 无符号整数类型的格式化器特化 更多... | |
| struct | formatter< char > |
| 单个字符的格式化器特化 更多... | |
| struct | formatter< bool > |
| 布尔类型的格式化器特化 更多... | |
| struct | formatter< string > |
| 字符串类型的格式化器特化 更多... | |
| struct | formatter< string_view > |
| 字符串视图的格式化器特化 更多... | |
| struct | formatter< const char * > |
| C风格字符串的格式化器特化 更多... | |
| struct | formatter< nullptr_t > |
| nullptr_t 格式化器 更多... | |
| struct | formatter< T *, enable_if_t<!is_cstring_v< T * > > > |
| 指针格式化器 更多... | |
| struct | formatter< char * > |
| 非const C风格字符串的格式化器特化 更多... | |
枚举 | |
| enum class | format_align { format_align::DEFAULT , format_align::LEFT , format_align::RIGHT , format_align::CENTER , format_align::NUMERIC } |
| 对齐方式枚举 更多... | |
| enum class | format_type : uint8_t { format_type::DEFAULT , format_type::DECIMAL , format_type::BINARY , format_type::OCTAL , format_type::HEX , format_type::SCIENTIFIC , format_type::FIXED , format_type::GENERAL , format_type::CHAR } |
| 数值类型格式枚举 更多... | |
函数 | |
| template<typename... Args, enable_if_t<(sizeof...(Args) > 0), int > = 0> | |
| NEFORCE_NODISCARD NEFORCE_CONSTEXPR20 string | format (const string_view fmt, Args &&... args) |
| 格式化字符串 | |