Class coro::enumerable::iterator¶
Class List > coro > enumerable > iterator
#include <yield.hpp>
Public Types¶
| Type | Name |
|---|---|
| typedef ptrdiff_t | difference_type |
| typedef std::forward_iterator_tag | iterator_category |
| typedef value_type * | pointer |
| typedef value_type & | reference |
| typedef T | value_type |
Public Attributes¶
| Type | Name |
|---|---|
| coroutine_handle< promise_type > | coro |
Public Functions¶
| Type | Name |
|---|---|
| iterator (std::nullptr_t) noexcept |
|
| iterator (coroutine_handle< promise_type > handle) noexcept |
|
| bool | operator!= (const iterator & rhs) noexcept const |
| reference | operator* () noexcept |
| iterator & | operator++ (int) = delete post increment is prohibited |
| iterator & | operator++ () noexcept |
| pointer | operator-> () noexcept |
| bool | operator== (const iterator & rhs) noexcept const |
Public Types Documentation¶
typedef difference_type¶
using coro::enumerable< T >::iterator::difference_type = ptrdiff_t;
typedef iterator_category¶
using coro::enumerable< T >::iterator::iterator_category = std::forward_iterator_tag;
typedef pointer¶
using coro::enumerable< T >::iterator::pointer = value_type*;
typedef reference¶
using coro::enumerable< T >::iterator::reference = value_type&;
typedef value_type¶
using coro::enumerable< T >::iterator::value_type = T;
Public Attributes Documentation¶
variable coro¶
coroutine_handle<promise_type> coro::enumerable< T >::iterator::coro;
Public Functions Documentation¶
function iterator [1/2]¶
inline explicit coro::enumerable::iterator::iterator (
std::nullptr_t
) noexcept
See also: enumerable::end()
function iterator [2/2]¶
inline explicit coro::enumerable::iterator::iterator (
coroutine_handle < promise_type > handle
) noexcept
See also: enumerable::begin()
function operator!=¶
inline bool coro::enumerable::iterator::operator!= (
const iterator & rhs
) noexcept const
function operator*¶
inline reference coro::enumerable::iterator::operator* () noexcept
function operator++¶
iterator & coro::enumerable::iterator::operator++ (
int
) = delete
function operator++¶
inline iterator & coro::enumerable::iterator::operator++ () noexcept
function operator->¶
inline pointer coro::enumerable::iterator::operator-> () noexcept
function operator==¶
inline bool coro::enumerable::iterator::operator== (
const iterator & rhs
) noexcept const
The documentation for this class was generated from the following file interface/coroutine/yield.hpp