Sese Framework  x.y.z
A cross-platform framework
载入中...
搜索中...
未找到
sese::Range< TYPE >::Iterator类 参考

迭代器 更多...

#include <Range.h>

Public 类型

using difference_type = int64_t
 
using value_type = TYPE
 
using pointer = const TYPE *
 
using reference = const TYPE &
 
using iterator_category = std::forward_iterator_tag
 

Public 成员函数

 Iterator (TYPE cur_number)
 
Iteratoroperator++ ()
 
Iterator operator++ (int)
 
bool operator== (Iterator iterator) const
 
bool operator!= (Iterator iterator) const
 
TYPE operator* () const
 

Private 属性

TYPE curNumber = 0
 

详细描述

template<class TYPE>
class sese::Range< TYPE >::Iterator

迭代器

成员类型定义说明

◆ difference_type

template<class TYPE >
using sese::Range< TYPE >::Iterator::difference_type = int64_t

◆ iterator_category

template<class TYPE >
using sese::Range< TYPE >::Iterator::iterator_category = std::forward_iterator_tag

◆ pointer

template<class TYPE >
using sese::Range< TYPE >::Iterator::pointer = const TYPE *

◆ reference

template<class TYPE >
using sese::Range< TYPE >::Iterator::reference = const TYPE &

◆ value_type

template<class TYPE >
using sese::Range< TYPE >::Iterator::value_type = TYPE

构造及析构函数说明

◆ Iterator()

template<class TYPE >
sese::Range< TYPE >::Iterator::Iterator ( TYPE cur_number)
inlineexplicit

成员函数说明

◆ operator!=()

template<class TYPE >
bool sese::Range< TYPE >::Iterator::operator!= ( Iterator iterator) const
inline

◆ operator*()

template<class TYPE >
TYPE sese::Range< TYPE >::Iterator::operator* ( ) const
inline

◆ operator++() [1/2]

template<class TYPE >
Iterator & sese::Range< TYPE >::Iterator::operator++ ( )
inline

◆ operator++() [2/2]

template<class TYPE >
Iterator sese::Range< TYPE >::Iterator::operator++ ( int )
inline

◆ operator==()

template<class TYPE >
bool sese::Range< TYPE >::Iterator::operator== ( Iterator iterator) const
inline

类成员变量说明

◆ curNumber


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