NexusForce 1.0.0
A Modern C++ Library with extended functionality, web components, and utility libraries
载入中...
搜索中...
未找到
char_traits< wchar_t >结构体 参考

wchar_t类型的特化 更多...

#include <char_traits.hpp>

类 char_traits< wchar_t > 继承关系图:
[图例]

额外继承的成员函数

Public 类型 继承自 base_char_traits< CharT, IntT >
using char_type = CharT
 字符类型
using int_type = IntT
 整数类型
Public 类型 继承自 base_char_traits< wchar_t, uint32_t >
using char_type
 字符类型
using int_type
 整数类型
静态 Public 成员函数 继承自 base_char_traits< CharT, IntT >
static constexpr char_typecopy (char_type *dest, const char_type *srcs, const size_t count) noexcept
 复制字符序列
static constexpr char_typemove (char_type *dest, const char_type *srcs, const size_t count) noexcept
 移动字符序列
static NEFORCE_NODISCARD constexpr int compare (const char_type *lhs, const char_type *rhs, size_t count) noexcept
 比较两个字符序列
static NEFORCE_NODISCARD constexpr size_t length (const char_type *str) noexcept
 计算字符串长度
static NEFORCE_NODISCARD constexpr const char_typefind (const char_type *str, const size_t count, const char_type target) noexcept
 在字符序列中查找指定字符
static constexpr char_typeassign (char_type *const str, const size_t count, const char_type chr) noexcept
 将字符序列中的每个字符设置为指定值
static constexpr void assign (char_type &lhs, const char_type rhs) noexcept
 赋值单个字符
static NEFORCE_NODISCARD constexpr bool eq (const char_type lhs, const char_type rhs) noexcept
 相等比较
static NEFORCE_NODISCARD constexpr bool lt (const char_type lhs, const char_type rhs) noexcept
 小于比较
static NEFORCE_NODISCARD constexpr int_type not_eof (const int_type rsc) noexcept
 如果不是EOF则返回原值,否则返回0
static NEFORCE_NODISCARD constexpr int_type eof () noexcept
 返回EOF值
静态 Public 成员函数 继承自 base_char_traits< wchar_t, uint32_t >
static constexpr char_typecopy (char_type *dest, const char_type *srcs, const size_t count) noexcept
 复制字符序列
static constexpr char_typemove (char_type *dest, const char_type *srcs, const size_t count) noexcept
 移动字符序列
static NEFORCE_NODISCARD constexpr int compare (const char_type *lhs, const char_type *rhs, size_t count) noexcept
 比较两个字符序列
static NEFORCE_NODISCARD constexpr size_t length (const char_type *str) noexcept
 计算字符串长度
static NEFORCE_NODISCARD constexpr const char_typefind (const char_type *str, const size_t count, const char_type target) noexcept
 在字符序列中查找指定字符
static constexpr char_typeassign (char_type *const str, const size_t count, const char_type chr) noexcept
 将字符序列中的每个字符设置为指定值
static NEFORCE_NODISCARD constexpr bool eq (const char_type lhs, const char_type rhs) noexcept
 相等比较
static NEFORCE_NODISCARD constexpr bool lt (const char_type lhs, const char_type rhs) noexcept
 小于比较
static NEFORCE_NODISCARD constexpr int_type not_eof (const int_type rsc) noexcept
 如果不是EOF则返回原值,否则返回0
static NEFORCE_NODISCARD constexpr int_type eof () noexcept
 返回EOF值

详细描述

wchar_t类型的特化

在文件 char_traits.hpp233 行定义.


该结构体的文档由以下文件生成: