|
MSTL 1.4.0
A Modern C++ Library with extended functionality, web components, and utility libraries
|
字符和数字值之间的操作 更多...
类 | |
| struct | static_char_digit< Base, Digit > |
| 将字符转换为指定进制下的数字值 更多... | |
| struct | static_power< Base, Digits > |
| 计算字符串表示的数值的幂 更多... | |
| struct | static_number< Base, Digits > |
| 将字符串表示的数值转换为编译期数值 更多... | |
| struct | static_parse_int< Digits > |
| 根据前缀自动识别进制并解析整数 更多... | |
类型定义 | |
| template<char... Digits> | |
| using | static_select_int_t |
| 根据数值选择最合适整数类型的类型别名 | |
字符和数字值之间的操作
| using static_select_int_t |
根据数值选择最合适整数类型的类型别名
| Digits | 数字字符序列 |
从unsigned数值中选择第一个能容纳解析出的数值的类型。
在文件 static_numeric.hpp 第 545 行定义.