Is there a way for a function to return itself in D?

Simen Kjaeraas simen.kjaras at gmail.com
Tue Oct 14 03:29:51 PDT 2008


Like the subject says, I wonder if it's possible for a function to return  
itself.
No matter how I think of this, I end up with an endless recursive function
declaration. Creating a functor that does this is simple, so why not a  
function?

-- 
Simen


More information about the Digitalmars-d-learn mailing list