Chris Cotter

Results 28 comments of Chris Cotter

looks like this can be fixed/mitigated by checking `receiver` before `sender_to`, presumably gcc will short circuit before trying to instantiate the second concept evaluation.

Thanks @AnujYamdagni - I'm working through the CLA stuff with my company, but once that gets worked out I could submit a patch.

@AnujYamdagni - would you be able to take a look at #438?

@AnujYamdagni - i see the unstable branch recently merged into broken-stdlib. have you had a chance to move towards a plan on merging main and broken-stdlib? By the way, if...

I'm reasonably confident the implementation of [CWG2369 in GCC](https://github.com/gcc-mirror/gcc/commit/f1612b8ae8a60f62cf5456b3357a341550534a7e) is what triggered the change in GCC. I'm not well versed enough to understand if this is a compiler bug or...

@ispeters - thanks for looking. I'm completely fine with unifex raising the minimum supported version to 10.3 for gcc. I'd maintain this patch (plus still enabling coroutine support for 10.2)...

> There currently isn't a satisfactory solution. libunifex newbie here. I'm curious - is there a fundamental problem preventing a satisfactory solution? Would some sender/receiver analogy of cppcoro's [`when_all`](https://github.com/lewissbaker/cppcoro/blob/master/include/cppcoro/when_all.hpp) do...

Thank you - I'll check out `async_scope` as well. As a learning exercise for myself, I've got a [half baked implementation working](https://github.com/ccotter/libunifex/tree/when_all) that's effectively a "replace tuple with vector" version...

`async_scope` seems to do just the trick, acting as a nice provider of heap allocation as needed for creating a `when_all` for a runtime container of tasks. I'll leave https://github.com/ccotter/libunifex/blob/when_all/examples/when_all_scope.cpp#L61...