MiniOB 1
MiniOB is one mini database, helping developers to learn how database works.
|
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) | |
BinaryIterator & | operator+= (int n) |
BinaryIterator & | operator-= (int n) |
BinaryIterator & | operator++ () |
BinaryIterator | operator++ (int) |
BinaryIterator & | operator-- () |
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) |