Class coro::enumerable¶
template <typename T typename T>
Class List > coro > enumerable
C++ Coroutines Generator. More...
#include <yield.hpp>
Classes¶
| Type | Name | 
|---|---|
| class | iterator  | 
| class | promise_type  | 
Public Types¶
| Type | Name | 
|---|---|
| typedef value_type * | pointer   | 
| typedef value_type & | reference   | 
| typedef T | value_type   | 
Public Functions¶
| Type | Name | 
|---|---|
| iterator | begin () noexcept | 
| iterator | end () noexcept | 
| enumerable (const enumerable &) = delete | 
|
| enumerable (enumerable && rhs) noexcept | 
|
| enumerable () noexcept | 
|
| enumerable (coroutine_handle< promise_type > rh) noexcept | 
|
| enumerable & | operator= (const enumerable &) = delete | 
| enumerable & | operator= (enumerable && rhs) noexcept | 
| ~enumerable () noexcept The type will destroy the frame in destructor So promise/iterator are free from those ownership control.  | 
Detailed Description¶
Template parameters:
TType of the element
See also: N4402
See also: <experimental/generator> from the VC++
Public Types Documentation¶
typedef pointer¶
using coro::enumerable< T >::pointer =  value_type*;
typedef reference¶
using coro::enumerable< T >::reference =  value_type&;
typedef value_type¶
using coro::enumerable< T >::value_type =  T;
Public Functions Documentation¶
function begin¶
inline iterator coro::enumerable::begin () noexcept
function end¶
inline iterator coro::enumerable::end () noexcept
function enumerable [1/4]¶
coro::enumerable::enumerable (
    const enumerable &
) = delete
function enumerable [2/4]¶
inline coro::enumerable::enumerable (
    enumerable && rhs
) noexcept
function enumerable [3/4]¶
coro::enumerable::enumerable () noexcept
function enumerable [4/4]¶
inline explicit coro::enumerable::enumerable (
    coroutine_handle < promise_type > rh
) noexcept
function operator=¶
enumerable & coro::enumerable::operator= (
    const enumerable &
) = delete
function operator=¶
inline enumerable & coro::enumerable::operator= (
    enumerable && rhs
) noexcept
function ~enumerable¶
inline coro::enumerable::~enumerable () noexcept
The documentation for this class was generated from the following file interface/coroutine/yield.hpp