Boost logo

Boost :

From: Arno Schoedl (schoedl_at_[hidden])
Date: 2024-05-10 07:22:30



> Do you have a code example of that? I'm able to wrap stackful
> coroutines into std::coroutine_handle's, so I'd like to see if there's
> some UB-infused solution to your problem.

Not right now, on vacation. But let’s say you want a line

std::for_each(range, …)

to be part of a generator coroutine where … is itself a coroutine that yields. Is there a way to avoid std::for_each having to be a coroutine?

Arno

--
Dr. Arno Schödl
CTO
schoedl_at_[hidden] | +49 30 6664731-0
We are looking for C++ Developers: https://www.think-cell.com/career/dev


think-cell Software GmbH (https://www.think-cell.com)
Leipziger Str. 51, 10117 Berlin, Germany
Main phone +49 30 6664731-0 | US toll-free +1 800 891 8091

Amtsgericht Berlin-Charlottenburg HRB 180042
Directors: Alexander von Fritsch, Christoph Hobo

Please refer to our privacy policy (https://www.think-cell.com/privacy) on how we protect your personal data.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk