lewissbaker / cppcoro

A library of C++ coroutine abstractions for the coroutines TS
MIT License
3.43k stars 470 forks source link

added <utility> as dependancy for static_thread_pool.cpp #206

Open tomatenkuchen opened 3 years ago

tomatenkuchen commented 3 years ago

Hi! I had compilation errors on static_thread_pool.cpp with my gcc-12 compiler, claming std::exchange doesn't belong to std namespace. It compiled after appeding to the includes.

Also in tasks.hpp my compiler complained that (in gcc case) await_suspend must be noexcept.

I hope that helps!