std::regex_traits::value
来自cppreference.com
< cpp | regex | regex traits
|
|
该页由英文版wiki使用Google Translate机器翻译而来。
该翻译可能存在错误或用词不当。鼠标停留在文本上可以看到原版本。你可以帮助我们修正错误或改进翻译。参见说明请点击这里. |
| int value( CharT ch, int radix ) const; |
||
确定的值,该值表示的数字,鉴于当前充满的区域设置在数字基
chradix.原文:
Determines the value represented by the digit
ch in the numeric base radix, given the currently imbued locale.[编辑] 参数
| ch | - | 的字符,可能代表一个数字
原文: the character that may represent a digit |
| radix | - | 8,10或16
|
[编辑] 返回值
ch的数值,如果确实代表一个数字在目前充满语言环境中有效数字的基本radix,或-1上的错误.原文:
The numeric value if
ch indeed represents a digit in the currently imbued locale that is valid for the numeric base radix, or -1 on error.[编辑] 示例
| 本章尚未完成 原因:暂无示例 |