boost::capy
Types
Name |
Description |
Forwards |
|
Dispatches |
|
Dispatches |
|
Dispatches |
|
Queues coroutines in |
|
Queues coroutines in |
|
A single‐slot waker that hands one wakeup to a waiting coroutine. |
|
A buffer sequence wrapper providing windowed access. |
|
A buffer sequence wrapper providing windowed access. |
|
A reference to a contiguous region of read‐only memory. |
|
Satisfies |
|
A cursor that drives consumption of a buffer sequence. |
|
A cursor that drives consumption of a buffer sequence. |
|
Pairs a coroutine handle with a scratch slot so executors can queue it without heap allocation. |
|
Registers, looks up, and shuts down |
|
Forwards |
|
Mixin that adds frame‐allocator‐aware allocation to a promise type. |
|
An awaitable that completes immediately with a value. |
|
CRTP mixin that adds I/O awaitable support to a promise type. |
|
Carries the executor, stop token, and frame allocator through a coroutine chain. |
|
Bundles an error code with optional payload values, exposed via the tuple protocol. |
|
A reference to a contiguous region of writable memory. |
|
Satisfies |
|
Defers a coroutine body until awaited, then unwinds it early on a stop request. |
|
Recycles freed blocks through per‐thread pools, with a shared pool for cross‐thread reuse. |
|
Installs the frame allocator, then starts the task on the executor when called once. |
|
Provides serialized coroutine execution for any executor type. |
|
Defers a coroutine body until awaited, then runs it inline on the caller's thread. |
|
Distributes posted work across a fixed group of worker threads via a shared queue. |
|
RAII guard that keeps an executor's context from completing. |
Type Aliases
Name |
Description |
Names what |
|
Names |
|
Falls back to |
|
Forces |
|
Names |
|
Falls back to |
|
Names whichever buffer type |
Functions
Name |
Description |
|
|
Copy the contents of a buffer sequence into another buffer sequence. |
|
Check if a buffer sequence contains no data. |
|
Return the number of buffer elements in a sequence. |
|
Return the total byte count across all buffers in a sequence. |
|
|
|
|
|
|
|
|
|
Return the current frame allocator for this thread. |
|
Returns pointer to the default recycling memory resource. |
|
Return the process‐wide system thread pool. |
|
|
|
Create an error_code from an error value. |
|
Create an error_condition from a cond value. |
|
Create a work guard from an executor. |
|
Read data from a stream until the buffer sequence is full. |
|
Read at least a minimum number of bytes from a stream. |
|
|
|
|
|
|
|
Resume a coroutine handle with frame‐allocator TLS protection. |
|
Set the current frame allocator for this thread. |
|
Set the name of the current thread for debugging purposes. |
|
|
|
|
|
Write an entire buffer sequence to a stream. |
|
Write at least a minimum number of bytes to a stream. |
Concepts
Name |
Description |
Requires a type to convert to |
|
Requires a type to expose a |
|
Requires a copyable type to dispatch or post continuations to its context. |
|
Requires |
|
Requires a sized input range whose value type satisfies |
|
Requires an |
|
Requires a type to convert to |
|
Requires |
|
Requires a type to satisfy both |
|
Requires |
|
Requires an awaitable's result to destructure into the given types. |
|
Requires a type to destructure via structured bindings into the given types. |
Created with MrDocs