|
NexusForce 1.0.0
A Modern C++ Library with extended functionality, web components, and utility libraries
|
行迭代器 更多...
#include <file.hpp>
Public 类型 | |
| using | value_type = string |
| 元素类型 | |
| using | reference = const string& |
| 引用类型 | |
| using | pointer = const string* |
| 指针类型 | |
| using | iterator_category = input_iterator_tag |
| 迭代器类别 | |
| using | difference_type = ptrdiff_t |
| 差值类型 | |
Public 成员函数 | |
| line_iterator ()=default | |
| 默认构造函数(结束迭代器) | |
| line_iterator (const file *f) | |
| 构造函数 | |
| reference | operator* () const noexcept |
| 解引用操作符 | |
| pointer | operator-> () const noexcept |
| 成员访问操作符 | |
| line_iterator & | operator++ () |
| 前置递增操作符 | |
| line_iterator | operator++ (int) |
| 后置递增操作符 | |
| bool | operator== (const line_iterator &rhs) const noexcept |
| 相等比较操作符 | |
| bool | operator!= (const line_iterator &rhs) const noexcept |
| 不等比较操作符 | |
|
explicit |
|
inlinenoexcept |
|
inlinenoexcept |
| line_iterator & file::line_iterator::operator++ | ( | ) |
| line_iterator file::line_iterator::operator++ | ( | int | ) |
|
inlinenoexcept |
|
inlinenoexcept |