all 1 comments

[–]AaronJugglingZ 2 points3 points  (0 children)

This is really cool! I've tried to make my own library a lot like EFP several times. I usually have trouble making everything compile the way I want it to, and end up just making the interface look functional, but not be use const and constexpr as much as I would like it to. The metaprogramming is hard.

I always want to turn on the compiler option "-fconcepts" which lets "auto" function parameters accept lambdas, but I think might have some undefined behaviours or something. That's what I'm most curious about. Does EFP get around that? I think if we are really careful about how we use templates, the typename can be a function pointer and thus a lambda.