[Bug libstdc++/97561] coroutine_handle doesn't have inheritance

2020-10-26 Thread stinkingmadgod at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97561 --- Comment #3 from stinkingmadgod at gmail dot com --- Thanks for the link. I was attempting to create a type-erased task type where the handles in one case was be passed in as a std::coroutine_handle<>& to avoid using std::function and the like

[Bug libstdc++/97561] coroutine_handle doesn't have inheritance

2020-10-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97561 --- Comment #2 from Jonathan Wakely --- Do you have a real world use case where the inheritance is actually required?

[Bug libstdc++/97561] coroutine_handle doesn't have inheritance

2020-10-26 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97561 Jonathan Wakely changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---