"Jarrett Billingsley" <[email protected]> wrote in message news:[email protected]... > >I'd really, really like to replace your entire module with this: > >Ret delegate(Args) toDg(T: Ret function(Args), Ret, Args...)(T func) >{ >[snip] >} > >But I can't. :C
Yea. But even then, while the API creator can just use "delegate" and be done with it, the user still has to actually care if they're trying to pass in a function or a delegate. Which just goes back to my earlier point that "I don't *want* to care whether or not my...whatever the hell it is...is carrying around a context!"
