chausner

Results 89 comments of chausner

> @chausner In C++20 there is a [`std::iter_value_t`](https://en.cppreference.com/w/cpp/iterator/iter_t) that returns you the value type of any container, including raw C arrays Thanks for that hint! Unfortunately, `std::iter_value_t` is only implemented...

I replaced `.data()` and `.size()` with their `std::` equivalents in 334fbe8. I didn't find any way to assert that `std::data` returns a contiguous array of elements. Technically, `std::data` can be...

@David-Haim I see you added a custom binary_semaphore implementation here: https://github.com/David-Haim/concurrencpp/pull/47 With that, maybe even GCC 10 would then be supported because I think the only error I got when...

> @David-Haim I see you added a custom binary_semaphore implementation here: #47 > > With that, maybe even GCC 10 would then be supported because I think the only error...

Some tests seem to fail. Need to investigate why: >Test project /mnt/c/Users/chris/Source/Repos/concurrencpp/build/test Start 1: task_tests 1/23 Test #1: task_tests ....................... Passed 0.01 sec Start 2: runtime_tests 2/23 Test #2: runtime_tests...

> From what I've seen debugging those problems, it seems to me that GCC still produces buggy assembly code for coroutines, especially for eager coroutines. I see. Yes, I have...

Just tested with a recent GCC 12.0.1 20220319 build and the tests still fail with the same errors.

No luck with GCC 12.2.0 either. Same tests are still failing..

I had a closer look at the tests that were failing for GCC-11 and GCC-12 and found a workaround: 2e2fea89caa0569634d11058c7019c03b6f4708b It seems the compilers get confused with lambda captures and...

> If we know GCC still produces a buggy assembly for coroutines, can we honestly say that this coroutine library is supported by it? I think it kinda suggests that...