I want to store a few function pointers following the similar interface (all are asyncs, have the same arguments and the same return value) in a vector, so that I could iterate over each of those and call them with my arguments and get results. playground
Thank you very much for your answer. I'll try this out.
And no, I need these functions to be called sequentially, not, want to call each one of them until I get an Ok result, so your solution should work perfectly.