cortex 0.0.1
Loading...
Searching...
No Matches
generator.hpp File Reference

Stackful generator built on top of Cortex coroutines. More...

#include <cortex/coroutine.hpp>
#include <cortex/coroutine_suspend_context.hpp>
#include <cortex/memory_resource.hpp>
#include <function2/function2.hpp>
#include <cassert>
#include <memory>
#include <optional>
#include <stdexcept>
#include <utility>
Include dependency graph for generator.hpp:

Go to the source code of this file.

Classes

class  cortex::Generator< T >
 A stackful generator that yields values of type T. More...
 
class  cortex::Generator< T >::YieldContext
 Context provided to the generator body to yield values. More...
 
struct  cortex::Generator< T >::Builder
 A builder class for creating Generator instances with custom configuration. More...
 

Namespaces

namespace  cortex
 

Detailed Description

Stackful generator built on top of Cortex coroutines.