cppcoro icon indicating copy to clipboard operation
cppcoro copied to clipboard

A library of C++ coroutine abstractions for the coroutines TS

Results 108 cppcoro issues
Sort by recently updated
recently updated
newest added

cl version: 19.28.29617 Visual Studio version: 16.9.0 preview error: ``` C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview\VC\Tools\MSVC\14.28.29617\include\experimental/coroutine(37): fatal error C1189: #error: The and headers are only supported with /await and implement pre-C++20...

This pull request cares about three issues: 1. The `#include ` vs. `#include ` problem. A header is introduced which checks which include is available. 2. The `std::` vs. `std::experimental::`...

This pull request should add support for github actions. It is in a very early stage and should be significantly improved before merged. Any help or review is greatly appreciated....

Pull request https://github.com/lewissbaker/cppcoro/pull/110 by @mmha was opened 1.5 years ago, but was never finished. @dutow later based his fixes for gcc on it. In https://github.com/lewissbaker/cppcoro/pull/169, CMake support was again proposed...

Includes installer which creates a namespaced export Usage: ``` cmake_minimum_required(VERSION 3.16) project(cppcoro-check) find_package(cppcoro REQUIRED) add_executable(check main.cpp) target_link_libraries(check cppcoro::cppcoro) ``` Tested on fedora-33 linux with `clang-11 -std=c++20 -stdlib=libc++`

When running the test `single_consumer_async_auto_reset_event_tests` with activated address sanitizer or using valgrind you will detect memory leaks: ``` erik@excelsior ~/p/c/build (master)> ./test/single_consumer_async_auto_reset_event_tests [doctest] doctest version is "2.4.0" [doctest] run with...

When testing the following code, I am able to compile and execute when using clang++. ``` #include #include #include #include cppcoro::generator numbers(int begin, int end) { for (int i =...

The old doctest led to problems with MSVC 2019 This needs more testing before it can be merged.

I ended up implementing my own version of a `generator` template class as an experiment with C++20 coroutines, and then somebody over at codereview.stackexchange.com gave me a link to this...