Re: Croutons in kdereview

2021-08-30 Thread Ivan Čukić
> > `then` when calling it, which you lose if you switch from std::function to > > a generic Fn parameter. But you can (since you're already using C++20) > > restrict it with the std::invocable concept to avoid this loss of API > > usage information. > > I still don't follow what this means for Cr

Re: Croutons in kdereview

2021-08-30 Thread Jonah Brüchert
Hi Janet, I know I have asked this earlier already, but what is the relationship between your library and QCoro? Especially now that we are starting to use QCoro in some KDE projects (namely spacebar and plasma-dialer), it would be really unfortunate if they are not compatible. The scope o

Re: Croutons in kdereview

2021-08-30 Thread Ivan Čukić
Hi Janet, > Addressed most of your feedback besides the std::expected thing Great! > rather wait and see what that ends up being like once in an actual C++ > standard and use before modelling Result to be more like it. Fair enough, though it is not expected that the proposal will change much in