operator-(std::move_iterator)_C++中文网

C++ 参考手册

返回二个迭代器适配器间的距离。

参数

lhs, rhs - 要计算距离的迭代器适配器

返回值

lhs.base() - rhs.base()

示例