Kiwano Engine  v1.2.x
kiwano::IntrusiveList< _PtrTy >::Iterator< _IterPtrTy > 模板结构体 参考

Public 类型

using iterator_category = std::bidirectional_iterator_tag
 
using value_type = _IterPtrTy
 
using pointer = _IterPtrTy *
 
using reference = _IterPtrTy &
 
using difference_type = ptrdiff_t
 

Public 成员函数

 Iterator (value_type ptr=nullptr, bool is_end=false)
 
reference operator* () const
 
pointer operator-> () const
 
Iteratoroperator++ ()
 
Iterator operator++ (int)
 
Iteratoroperator-- ()
 
Iterator operator-- (int)
 
bool operator== (const Iterator &other) const
 
bool operator!= (const Iterator &other) const
 
 operator bool () const