|
MSTL 1.4.0
A Modern C++ Library with extended functionality, web components, and utility libraries
|
字符大小写转换函数 更多...
函数 | |
| template<typename CharT> | |
| MSTL_CONST_FUNCTION MSTL_CONSTEXPR14 CharT | to_lowercase (const CharT c) noexcept |
| 将字符转换为小写 | |
| template<typename CharT> | |
| MSTL_CONST_FUNCTION MSTL_CONSTEXPR14 CharT | to_uppercase (const CharT c) noexcept |
| 将字符转换为大写 | |
字符大小写转换函数
|
noexcept |
将字符转换为小写
| CharT | 字符类型 |
| c | 要转换的字符 |
将A-Z转换为a-z,其他字符保持不变。
在文件 memory.hpp 第 328 行定义.
被这些函数引用 string_compare_ignore_case(), string_compare_ignore_case() , 以及 string_find_pattern_ignored_case().
|
noexcept |
将字符转换为大写
| CharT | 字符类型 |
| c | 要转换的字符 |
将a-z转换为A-Z,其他字符保持不变。
在文件 memory.hpp 第 347 行定义.