|
Console Library 8.0.0
A header-only library that makes C++ simple
|
存储迭代器对,可以直接范围 for。 More...
#include <iter.h>
Public Types | |
| typedef Iter | iterator |
| 迭代器类型别名。 | |
| using | value_type |
| 值类型别名。 | |
| using | reference |
| 引用类型别名。 | |
| using | pointer |
| 指针类型别名。 | |
Public Member Functions | |
| IteratorPair (Iter beg, Iter end) | |
| 接受迭代器对的构造函数。 | |
| iterator | begin () |
| 返回首迭代器。 | |
| iterator | end () |
| 返回超尾迭代器。 | |
存储迭代器对,可以直接范围 for。
公开继承自 std::pair<Iter, Iter>。
| Iter | 迭代器类型。 |
| typedef Iter console::IteratorPair< Iter >::iterator |
迭代器类型别名。
| using console::IteratorPair< Iter >::pointer |
指针类型别名。
| using console::IteratorPair< Iter >::reference |
引用类型别名。
| using console::IteratorPair< Iter >::value_type |
值类型别名。
|
inline |
接受迭代器对的构造函数。
| beg | 首迭代器。 |
| end | 超尾迭代器。 |
|
inline |
返回首迭代器。
|
inline |
返回超尾迭代器。