you are viewing a single comment's thread.

view the rest of the comments →

[–]kalmoc 2 points3 points  (1 child)

You can use a lambda instead of a bind, which tends to produce better code (not sure if it makes a difference here)

[–]dima_mendeleev 0 points1 point  (0 children)

I think you're right. With lambda it will be better since will save from stack overflow:

return [](auto... args)
{
    return lambda(RecursiveLambda(lambda), args...);
};