On the richness of C++

Jason House jason.james.house at gmail.com
Wed Apr 16 15:17:16 PDT 2008


MatBec wrote:

> Jason House Wrote:
> 
>> The only thing I'm contesting is your statement that closures eliminate
>> the need for a bind library.  While it's true they reduce the need for a
>> bind library, they don't eliminate it.
> 
> Instead of call some strange bind function just create a closure taking
> the still unbound arguments that calles the function.
> 
> 
> I'm not a d-Programmer, but in other languages this is very easy.

All your examples as written are problem free in D as well.  Your examples
don't even bind local variables from the caller...



More information about the Digitalmars-d mailing list