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

After a fresh clone cake fails to start the build, with Python 2.7. ``` c:\dev>git clone --recursive https://github.com/lewissbaker/cppcoro.git Cloning into 'cppcoro'... remote: Enumerating objects: 103, done. remote: Counting objects: 100%...

std::uncaught_exception was deprecated in C++17 and removed in C++20. In /std:c++17 mode, this triggers a deprecation warning in recent versions of MSVC. In /std:c++latest mode, now that microsoft/STL#380 has been...

cppcoro seems to be getting closer to capabilities cpprestsdk. 1) is worth the the effort 2) what pieces are not yet available ? Any pitfalls ? Of course, I notice...

Sometimes I want to `co_return` some additional final value from a generator. It could be: - Some additional statistics on the data as a whole - A reason for why...

async_generator_tests.cpp is eating up all my memory. It eats through 16GB of RAM and 8GB of swap before it crashes with an out of memory exception. I'm on the latest...

Hi all, I copied TEST_CASE("launch many tasks remotely") and modified like this blow. TEST_CASE("modified launch many tasks remotely") { unsigned int consumer_thread_num = 4; cppcoro::static_thread_pool threadPool{ consumer_thread_num }; int task_exec_num...

bug in README.md **when_all_ready()** example: task example2() { ... // Unpack and handle each result individually once they're all complete. for (int i = 0; i < 1000; ++i) {...

1 error generated. [3/78] Building CXX object src/CMakeFiles/cxx_static.dir/algorithm.cpp.o FAILED: src/CMakeFiles/cxx_static.dir/algorithm.cpp.o /home/jdavis/repo/github/cppcoro/build/llvm-install/bin/clang++ -DNDEBUG -D_LIBCPP_BUILDING_LIBRARY -D_LIBCPP_HAS_COMMENT_LIB_PRAGMA -D_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER -Iinclude/c++build -I/home/jdavis/repo/github/cppcoro/tools/llvm-project/libcxx/include -O3 -DNDEBUG -D__GLIBCXX__ -DLIBSTDCXX -std=c++11 -nostdinc++ -fvisibility-inlines-hidden -Wall -Wextra -W -Wwrite-strings -Wno-unused-parameter -Wno-long-long...

Allow callers to specify a custom allocator to use for allocating the coroutine frame. General usage guide: ```c++ struct MyAllocator { MyAllocator(); MyAllocator(const MyAllocator&); ~MyAllocator(); void* allocate(std::size_t sz); void free(void*...

According to this thread > _Visual Studio 2019 compilation issue_ > https://developercommunity.visualstudio.com/content/problem/525532/visual-studio-2019-compilation-issue.html I got the same errors when compile tests.