#include <mp-coro/generator.h>
Definition at line 39 of file generator.h.
Classes | |
class | iterator |
struct | promise_type |
Public Types | |
using | value_type = std::remove_reference_t< T > |
using | reference = std::conditional_t< std::is_reference_v< T >, T, const value_type & > |
using | pointer = std::add_pointer_t< reference > |
Public Member Functions | |
generator ()=default | |
iterator | begin () |
std::default_sentinel_t | end () const noexcept |
Private Member Functions | |
generator (promise_type *promise) | |
Private Attributes | |
promise_ptr< promise_type > | promise_ |
using value_type = std::remove_reference_t<T> |
Definition at line 41 of file generator.h.
using reference = std::conditional_t<std::is_reference_v<T>, T, const value_type &> |
Definition at line 42 of file generator.h.
Definition at line 43 of file generator.h.
|
default |
|
inlineprivate |
Definition at line 141 of file generator.h.
|
inline |
Definition at line 126 of file generator.h.
|
inlinenoexcept |
Definition at line 134 of file generator.h.
|
private |
Definition at line 140 of file generator.h.