Corium 1.1.0
High-Performance Zero-Heap C++20 MPSC Application Runtime
Loading...
Searching...
No Matches
Generator.hpp File Reference

Pull-based zero-heap lazy sequence generator compatible with C++20 ranges. More...

#include <coroutine>
#include <exception>
#include <iterator>
#include <utility>
#include "corium/async/FramePool.hpp"
+ Include dependency graph for Generator.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  corium::async::Generator< T, Allocator >
 Zero-heap C++20 pull-based lazy generator sequence with configurable frame allocator. Compatible with range-based for loops and standard C++20 ranges. More...
 
class  corium::async::Generator< T, Allocator >::Iterator
 
struct  corium::async::Generator< T, Allocator >::promise_type
 
class  corium::async::Generator< T, Allocator >::Sentinel
 

Namespaces

namespace  corium
 
namespace  corium::async
 

Typedefs

template<typename T , std::size_t MaxFrames = 16, std::size_t FrameSize = 256>
using corium::async::PooledGenerator = Generator< T, StaticFrameAllocator< MaxFrames, FrameSize > >
 Pre-configured zero-heap statically-pooled lazy generator sequence.
 

Detailed Description

Pull-based zero-heap lazy sequence generator compatible with C++20 ranges.