NexusForce 1.0.0
A rigorously engineered full-stack C++ backend library.
载入中...
搜索中...
未找到
neforce::utf8_range类 参考

UTF-8码点遍历范围 更多...

#include <utf_iterator.hpp>

Public 成员函数

 utf8_range (const string_view sv) noexcept
 构造函数
utf8_iterator begin () const noexcept
 获取起始迭代器
utf8_iterator end () const noexcept
 获取结束迭代器

详细描述

UTF-8码点遍历范围

支持范围for循环。

在文件 utf_iterator.hpp134 行定义.

构造及析构函数说明

◆ utf8_range()

neforce::utf8_range::utf8_range ( const string_view sv)
inlineexplicitnoexcept

构造函数

参数
sv字符串视图

在文件 utf_iterator.hpp143 行定义.

成员函数说明

◆ begin()

utf8_iterator neforce::utf8_range::begin ( ) const
inlinenodiscardnoexcept

获取起始迭代器

返回
指向第一个码点的迭代器

在文件 utf_iterator.hpp155 行定义.

◆ end()

utf8_iterator neforce::utf8_range::end ( ) const
inlinenodiscardnoexcept

获取结束迭代器

返回
结束标记迭代器

在文件 utf_iterator.hpp161 行定义.


该类的文档由以下文件生成: