programming-with-cpp20
programming-with-cpp20 copied to clipboard
Companion source code for "Programming with C++20 - Concepts, Coroutines, Ranges, and more"
The following code might read errno before calling open... I am happy to be convinced otherwise. https://github.com/andreasfertig/programming-with-cpp20/blob/491c83d0991ba70b3b0b42f671ba92654e897a37/08.30-structuredBindingsPOSIXError4/main.cpp#L23
Thanks for the coroutine set. The evolution of samples from the first one(02.10) to the result is awesome and produces the expected results. However, what if one would use it...
The error message is hard to understand. It seems like type-cast related. ` main.cpp:284:1: error: ‘static void promise_type_base::operator delete(void*, size_t) [with T = std::__cxx11::basic_string; G = generator; bool InitialSuspend =...