Relative Content

Tag Archive for c++c++20c++-coroutinec++-templates

template deduction with co_yield

I am trying do to a basic signal/slot library with coroutines. The idea is that you have signal members, connect them with slots that have the same signature, and when you co_yield a signal it calls the registered slots.
Signal class looks like this: