[Bug c++/95540] [coroutine] coroutine_traits<> lookup for lambdas

bruck.michael at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Jun 4 17:24:17 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95540

--- Comment #1 from Michael Bruck <bruck.michael at gmail dot com> ---
"impossible" is too strong here, you can add another overload:

template <typename T> struct std::coroutine_traits<pt::handle_t, T>
    { using promise_type = pt; };


More information about the Gcc-bugs mailing list