|
NexusForce 1.0.0
A Modern C++ Library with extended functionality, web components, and utility libraries
|
字符大小写转换函数 更多...
函数 | |
| template<typename CharT> | |
| NEFORCE_CONST_FUNCTION NEFORCE_CONSTEXPR14 CharT | to_lowercase (const CharT c) noexcept |
| 将字符转换为小写 | |
| template<typename CharT> | |
| NEFORCE_CONST_FUNCTION NEFORCE_CONSTEXPR14 CharT | to_uppercase (const CharT c) noexcept |
| 将字符转换为大写 | |
字符大小写转换函数
|
noexcept |
将字符转换为小写
| CharT | 字符类型 |
| c | 要转换的字符 |
将A-Z转换为a-z,其他字符保持不变。
在文件 memory.hpp 第 343 行定义.
引用了 is_character_v.
被这些函数引用 basic_string< char >::lowercase(), string_compare_ignore_case(), string_compare_ignore_case() , 以及 string_find_pattern_ignored_case().
|
noexcept |
将字符转换为大写
| CharT | 字符类型 |
| c | 要转换的字符 |
将a-z转换为A-Z,其他字符保持不变。
在文件 memory.hpp 第 362 行定义.
引用了 is_character_v.
被这些函数引用 basic_string< char >::uppercase().