MiniOB 1
MiniOB is one mini database, helping developers to learn how database works.
载入中...
搜索中...
未找到
Public 类型 | Public 成员函数 | Private 属性 | 友元 | 所有成员列表
common::BinaryIterator< T, Distance > 模板类 参考

Public 类型

using iterator_category = random_access_iterator_tag
 
using value_type = T
 
using difference_type = Distance
 
using pointer = value_type *
 
using reference = value_type &
 

Public 成员函数

 BinaryIterator (size_t item_num, T *data)
 
BinaryIteratoroperator+= (int n)
 
BinaryIteratoroperator-= (int n)
 
BinaryIteratoroperator++ ()
 
BinaryIterator operator++ (int)
 
BinaryIteratoroperator-- ()
 
BinaryIterator operator-- (int)
 
bool operator== (const BinaryIterator &other) const
 
bool operator!= (const BinaryIterator &other) const
 
T * operator* ()
 
T * operator-> ()
 

Private 属性

size_t item_num_ = 0
 
T * data_ = nullptr
 

友元

Distance operator- (const BinaryIterator &left, const BinaryIterator &right)
 

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