Not Monitored
Tag not monitored by Microsoft.
40,974 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I'm developing a WindowsAppSDK application using C++/WinRT. At the same time, I'm using some boost ASIO libraries using C++ 20 coroutine codes. But the compiler reports error when I tried using like:
winrt::Windows::Foundation::IAsyncAction foo() {
co_await boost::asio::this_coro::executor;
...
}
It seems I couldn't use C++20 coroutine in C++/WinRT IAsyncAction fuctions. Could anyone help me to understand this conflict?