|
NexusForce 1.0.0
A rigorously engineered full-stack C++ backend library.
|
字符类型分类和转换函数 更多...
#include "NeForce/core/typeinfo/type_traits.hpp"函数 | |
| template<typename CharT> | |
| constexpr bool | neforce::is_ctype (const CharT c, uint64_t mask_low, uint64_t mask_high) noexcept |
| 通用字符类型检查函数 | |
| template<typename CharT> | |
| constexpr bool | neforce::is_punct (const CharT c) noexcept |
| 检查字符是否为标点符号 | |
| template<typename CharT> | |
| constexpr bool | neforce::is_cntrl (const CharT c) noexcept |
| 检查字符是否为控制字符 | |
| template<typename CharT> | |
| constexpr bool | neforce::is_print (const CharT c) noexcept |
| 检查字符是否为可打印字符 | |
| template<typename CharT> | |
| constexpr bool | neforce::is_blank (const CharT c) noexcept |
| 检查字符是否为空白字符 | |
| template<typename CharT> | |
| constexpr bool | neforce::is_graph (const CharT c) noexcept |
| 检查字符是否为图形字符 | |
| template<typename CharT> | |
| constexpr bool | neforce::is_ascii (const CharT c) noexcept |
| 检查字符是否为ASCII字符 | |
| template<typename CharT> | |
| constexpr bool | neforce::is_space (const CharT c) noexcept |
| 检查字符是否为空白字符 | |
| template<typename CharT> | |
| constexpr bool | neforce::is_alpha (const CharT c) noexcept |
| 检查字符是否为字母 | |
| template<typename CharT> | |
| constexpr bool | neforce::is_digit (const CharT c) noexcept |
| 检查字符是否为数字 | |
| template<typename CharT> | |
| constexpr bool | neforce::is_xdigit (const CharT c) noexcept |
| 检查字符是否为十六进制数字 | |
| template<typename CharT> | |
| constexpr bool | neforce::is_alpha_or_digit (const CharT c) noexcept |
| 检查字符是否为字母或数字 | |
| template<typename CharT> | |
| constexpr bool | neforce::is_digit_or_alpha (const CharT c) noexcept |
| 检查字符是否为数字或字母 | |